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
6bb143af
Commit
6bb143af
authored
May 06, 2009
by
Hans Leidekker
Committed by
Alexandre Julliard
May 06, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Don't send any data after being redirected.
parent
0d8a826e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
http.c
dlls/wininet/http.c
+3
-2
No files found.
dlls/wininet/http.c
View file @
6bb143af
...
...
@@ -3271,7 +3271,7 @@ BOOL WINAPI HTTP_HttpSendRequestW(LPWININETHTTPREQW lpwhr, LPCWSTR lpszHeaders,
DWORD
dwContentLength
,
BOOL
bEndRequest
)
{
INT
cnt
;
BOOL
bSuccess
=
FALSE
;
BOOL
bSuccess
=
FALSE
,
redirected
=
FALSE
;
LPWSTR
requestString
=
NULL
;
INT
responseLen
;
BOOL
loop_next
;
...
...
@@ -3373,7 +3373,7 @@ BOOL WINAPI HTTP_HttpSendRequestW(LPWININETHTTPREQW lpwhr, LPCWSTR lpszHeaders,
goto
lend
;
/* send the request as ASCII, tack on the optional data */
if
(
!
lpOptional
)
if
(
!
lpOptional
||
redirected
)
dwOptionalLength
=
0
;
len
=
WideCharToMultiByte
(
CP_ACP
,
0
,
requestString
,
-
1
,
NULL
,
0
,
NULL
,
NULL
);
...
...
@@ -3467,6 +3467,7 @@ BOOL WINAPI HTTP_HttpSendRequestW(LPWININETHTTPREQW lpwhr, LPCWSTR lpszHeaders,
}
HeapFree
(
GetProcessHeap
(),
0
,
new_url
);
}
redirected
=
TRUE
;
}
}
if
(
!
(
lpwhr
->
hdr
.
dwFlags
&
INTERNET_FLAG_NO_AUTH
)
&&
bSuccess
)
...
...
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