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
1cab27e9
Commit
1cab27e9
authored
Aug 21, 2015
by
Daniel Lehman
Committed by
Alexandre Julliard
Aug 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Use stored server name in HTTP_ProcessCookies.
parent
4a1e6227
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
http.c
dlls/wininet/http.c
+1
-6
No files found.
dlls/wininet/http.c
View file @
1cab27e9
...
...
@@ -771,7 +771,6 @@ static void HTTP_ProcessCookies( http_request_t *request )
while
((
HeaderIndex
=
HTTP_GetCustomHeaderIndex
(
request
,
szSet_Cookie
,
numCookies
++
,
FALSE
))
!=
-
1
)
{
HTTPHEADERW
*
host
;
const
WCHAR
*
data
;
WCHAR
*
name
;
...
...
@@ -780,10 +779,6 @@ static void HTTP_ProcessCookies( http_request_t *request )
if
(
!
setCookieHeader
->
lpszValue
)
continue
;
host
=
HTTP_GetHeader
(
request
,
hostW
);
if
(
!
host
)
continue
;
data
=
strchrW
(
setCookieHeader
->
lpszValue
,
'='
);
if
(
!
data
)
continue
;
...
...
@@ -793,7 +788,7 @@ static void HTTP_ProcessCookies( http_request_t *request )
continue
;
data
++
;
set_cookie
(
host
->
lpszValu
e
,
request
->
path
,
name
,
data
,
INTERNET_COOKIE_HTTPONLY
);
set_cookie
(
request
->
server
->
nam
e
,
request
->
path
,
name
,
data
,
INTERNET_COOKIE_HTTPONLY
);
heap_free
(
name
);
}
...
...
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