Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
e889dd8e
Commit
e889dd8e
authored
Mar 12, 2015
by
Daniel Lehman
Committed by
Alexandre Julliard
Mar 13, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Accept Version in cookies.
parent
14a0fc3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
cookie.c
dlls/wininet/cookie.c
+6
-0
No files found.
dlls/wininet/cookie.c
View file @
e889dd8e
...
...
@@ -943,6 +943,7 @@ DWORD set_cookie(const WCHAR *domain, const WCHAR *path, const WCHAR *cookie_nam
static
const
WCHAR
szExpires
[]
=
{
'e'
,
'x'
,
'p'
,
'i'
,
'r'
,
'e'
,
's'
,
'='
,
0
};
static
const
WCHAR
szSecure
[]
=
{
's'
,
'e'
,
'c'
,
'u'
,
'r'
,
'e'
,
0
};
static
const
WCHAR
szHttpOnly
[]
=
{
'h'
,
't'
,
't'
,
'p'
,
'o'
,
'n'
,
'l'
,
'y'
,
0
};
static
const
WCHAR
szVersion
[]
=
{
'v'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
'='
,
0
};
if
(
!
(
ptr
=
strchrW
(
ptr
,
';'
)))
break
;
*
ptr
++
=
0
;
...
...
@@ -1023,6 +1024,11 @@ DWORD set_cookie(const WCHAR *domain, const WCHAR *path, const WCHAR *cookie_nam
cookie_flags
|=
INTERNET_COOKIE_HTTPONLY
;
ptr
+=
strlenW
(
szHttpOnly
);
}
else
if
(
strncmpiW
(
ptr
,
szVersion
,
8
)
==
0
)
{
FIXME
(
"version not handled (%s)
\n
"
,
debugstr_w
(
ptr
));
ptr
+=
strlenW
(
szVersion
);
}
else
if
(
*
ptr
)
{
FIXME
(
"Unknown additional option %s
\n
"
,
debugstr_w
(
ptr
));
...
...
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