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
4cd38b48
Commit
4cd38b48
authored
Jul 13, 2004
by
Robert Shearman
Committed by
Alexandre Julliard
Jul 13, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Accept headers without \r\n ending in HttpAddRequestHeaders.
parent
81e6f0c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
http.c
dlls/wininet/http.c
+7
-4
No files found.
dlls/wininet/http.c
View file @
4cd38b48
...
...
@@ -122,16 +122,19 @@ static BOOL WINAPI HTTP_HttpAddRequestHeadersW(LPWININETHTTPREQW lpwhr,
lpszEnd
++
;
}
if
(
*
lpsz
End
==
'\0'
)
if
(
*
lpsz
Start
==
'\0'
)
break
;
*
lpszEnd
=
'\0'
;
if
(
*
lpszEnd
==
'\r'
)
{
*
lpszEnd
=
'\0'
;
lpszEnd
+=
2
;
/* Jump over \r\n */
}
TRACE
(
"interpreting header %s
\n
"
,
debugstr_w
(
lpszStart
));
if
(
HTTP_InterpretHttpHeader
(
lpszStart
,
field
,
MAX_FIELD_LEN
,
value
,
MAX_FIELD_VALUE_LEN
))
bSuccess
=
HTTP_ProcessHeader
(
lpwhr
,
field
,
value
,
dwModifier
|
HTTP_ADDHDR_FLAG_REQ
);
lpszStart
=
lpszEnd
+
2
;
/* Jump over \0\n */
lpszStart
=
lpszEnd
;
}
while
(
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