Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
316383dd
Commit
316383dd
authored
Feb 19, 2007
by
Hans Leidekker
Committed by
Alexandre Julliard
Feb 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Don't discard the extra info part of a URL in InternetOpenUrl.
parent
77292a8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
internet.c
dlls/wininet/internet.c
+18
-1
No files found.
dlls/wininet/internet.c
View file @
316383dd
...
...
@@ -2857,7 +2857,24 @@ HINTERNET WINAPI INTERNET_InternetOpenUrlW(LPWININETAPPINFOW hIC, LPCWSTR lpszUr
userName
,
password
,
dwFlags
,
dwContext
,
INET_OPENURL
);
if
(
client
==
NULL
)
break
;
client1
=
HttpOpenRequestW
(
client
,
NULL
,
path
,
NULL
,
NULL
,
accept
,
dwFlags
,
dwContext
);
if
(
urlComponents
.
dwExtraInfoLength
)
{
WCHAR
*
path_extra
;
DWORD
size
=
urlComponents
.
dwUrlPathLength
+
urlComponents
.
dwExtraInfoLength
+
1
;
if
(
!
(
path_extra
=
HeapAlloc
(
GetProcessHeap
(),
0
,
size
)))
{
InternetCloseHandle
(
client
);
break
;
}
strcpyW
(
path_extra
,
urlComponents
.
lpszUrlPath
);
strcatW
(
path_extra
,
urlComponents
.
lpszExtraInfo
);
client1
=
HttpOpenRequestW
(
client
,
NULL
,
path_extra
,
NULL
,
NULL
,
accept
,
dwFlags
,
dwContext
);
HeapFree
(
GetProcessHeap
(),
0
,
path_extra
);
}
else
client1
=
HttpOpenRequestW
(
client
,
NULL
,
path
,
NULL
,
NULL
,
accept
,
dwFlags
,
dwContext
);
if
(
client1
==
NULL
)
{
InternetCloseHandle
(
client
);
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment