wininet: Accept Version in cookies.
This commit is contained in:
parent
14a0fc3ccc
commit
e889dd8eaa
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue