Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
90b1bcc1
Commit
90b1bcc1
authored
Dec 09, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Include extra info in object name passed to HttpOpenRequest.
parent
5b76702e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
http.c
dlls/urlmon/http.c
+7
-2
No files found.
dlls/urlmon/http.c
View file @
90b1bcc1
...
@@ -95,7 +95,7 @@ static HRESULT HttpProtocol_open_request(Protocol *prot, LPCWSTR url, DWORD requ
...
@@ -95,7 +95,7 @@ static HRESULT HttpProtocol_open_request(Protocol *prot, LPCWSTR url, DWORD requ
memset
(
&
url_comp
,
0
,
sizeof
(
url_comp
));
memset
(
&
url_comp
,
0
,
sizeof
(
url_comp
));
url_comp
.
dwStructSize
=
sizeof
(
url_comp
);
url_comp
.
dwStructSize
=
sizeof
(
url_comp
);
url_comp
.
dwSchemeLength
=
url_comp
.
dwHostNameLength
=
url_comp
.
dwUrlPathLength
=
url_comp
.
dwSchemeLength
=
url_comp
.
dwHostNameLength
=
url_comp
.
dwUrlPathLength
=
url_comp
.
dwExtraInfoLength
=
url_comp
.
dwUserNameLength
=
url_comp
.
dwPasswordLength
=
1
;
url_comp
.
dwUserNameLength
=
url_comp
.
dwPasswordLength
=
1
;
if
(
!
InternetCrackUrlW
(
url
,
0
,
0
,
&
url_comp
))
if
(
!
InternetCrackUrlW
(
url
,
0
,
0
,
&
url_comp
))
return
MK_E_SYNTAX
;
return
MK_E_SYNTAX
;
...
@@ -124,7 +124,12 @@ static HRESULT HttpProtocol_open_request(Protocol *prot, LPCWSTR url, DWORD requ
...
@@ -124,7 +124,12 @@ static HRESULT HttpProtocol_open_request(Protocol *prot, LPCWSTR url, DWORD requ
}
}
accept_mimes
[
num
]
=
0
;
accept_mimes
[
num
]
=
0
;
path
=
heap_strndupW
(
url_comp
.
lpszUrlPath
,
url_comp
.
dwUrlPathLength
);
path
=
heap_alloc
((
url_comp
.
dwUrlPathLength
+
url_comp
.
dwExtraInfoLength
+
1
)
*
sizeof
(
WCHAR
));
if
(
url_comp
.
dwUrlPathLength
)
memcpy
(
path
,
url_comp
.
lpszUrlPath
,
url_comp
.
dwUrlPathLength
*
sizeof
(
WCHAR
));
if
(
url_comp
.
dwExtraInfoLength
)
memcpy
(
path
+
url_comp
.
dwUrlPathLength
,
url_comp
.
lpszExtraInfo
,
url_comp
.
dwExtraInfoLength
*
sizeof
(
WCHAR
));
path
[
url_comp
.
dwUrlPathLength
+
url_comp
.
dwExtraInfoLength
]
=
0
;
if
(
This
->
https
)
if
(
This
->
https
)
request_flags
|=
INTERNET_FLAG_SECURE
;
request_flags
|=
INTERNET_FLAG_SECURE
;
This
->
base
.
request
=
HttpOpenRequestW
(
This
->
base
.
connection
,
This
->
base
.
request
=
HttpOpenRequestW
(
This
->
base
.
connection
,
...
...
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