Piotr Caban
b9c2a19591
wininet: Make cookies functions thread-safe.
2012-10-01 14:32:29 +02:00
Piotr Caban
fc219b0ab3
wininet: Added basic cookie domain validation in set_cookie function.
2012-10-01 14:32:24 +02:00
Piotr Caban
b49c980d0d
wininet: Added support for persistent cookies.
2012-10-01 14:32:11 +02:00
Piotr Caban
ee47def0ad
wininet: Added more fields to cookie structure.
2012-10-01 14:31:49 +02:00
Jacek Caban
c4c3ff47e7
wininet: Set last error for invalid URL argument.
2012-09-04 17:32:31 +02:00
André Hentschel
0fda135f3f
wininet: Use the constants from the wininet header.
2011-08-24 11:58:13 +02:00
Hans Leidekker
9acd1ef15f
wininet: Consistently use the allocation macros.
2011-06-01 15:16:53 +02:00
Jacek Caban
2e2ed52cfb
wininet: Use set_cookie directly in HTTP_ProcessCookies.
2011-05-19 19:37:26 +02:00
Jacek Caban
dce9181c91
wininet: Use get_cookie directly in HTTP_InsertCookies.
2011-05-19 19:37:26 +02:00
Jacek Caban
9a741bf3d7
wininet: Moved getting cookie from known host to separated function.
2011-05-19 19:37:26 +02:00
Jacek Caban
354a74e004
wininet: Use wrappers for HeapAlloc calls.
2011-04-21 16:53:42 +02:00
Vincent Povirk
173b2c5b0f
wininet: Use LIST_FOR_EACH_SAFE in a loop where we can delete an entry.
2011-01-17 12:49:14 +01:00
Austin English
eff0aeccef
wininet: Avoid size_t in ERR().
2010-07-02 12:17:03 +02:00
Hans Leidekker
4a8f4f2867
wininet: Avoid accessing uninitialized memory.
...
Found by valgrind.
2009-10-26 11:20:09 +01:00
Jacek Caban
0055cfedc2
wininet: Code clean up by using heap_strdup* functions.
2009-07-20 12:20:27 +02:00
Eric van Beurden
f0ce72082d
wininet: Check for failed heap allocations.
2009-06-25 14:34:13 +02:00
Hans Leidekker
fbc99515eb
wininet: Fix parsing of cookies with attributes.
2009-04-24 15:51:42 +02:00
Francois Gouget
5ef481922f
Assorted spelling fixes.
2009-04-20 15:25:26 +02:00
Aric Stewart
e968f099f3
wininet: Handle cookie expiration.
2009-02-18 16:48:42 +01:00
Aric Stewart
a253a376a7
wininet: Add and match paths for cookies.
2009-02-18 13:29:36 +01:00
Aric Stewart
99a7ed9f4f
wininet: When cracking a cookie url discard the webpage and ensure at least a path of '/'.
2009-02-18 13:29:05 +01:00
Aric Stewart
8aa93c41f0
wininet: Parse cookie information from cookie value.
2009-02-18 13:26:34 +01:00
Hans Leidekker
2d42f291c8
wininet: Implement IsDomainLegalCookieDomainW.
2009-01-30 11:43:06 +01:00
Alexandre Julliard
82280618db
wininet: Include ws2tcpip.h before anything else for the Windows build.
2008-12-09 11:33:25 +01:00
Hans Leidekker
c3ecb7244b
wininet: More win64 compatibility fixes.
2008-06-30 15:07:47 +02:00
Hans Leidekker
a3ea34c56e
wininet: Partial implementation of InternetGet/SetCookieEx.
2008-05-12 14:01:01 +02:00
Hans Leidekker
a0c3816dbf
wininet: Initialize path buffer in InternetSetCookie.
2007-11-19 13:52:26 +01:00
Hans Leidekker
5ccfec6428
wininet: Fix a number of problems with InternetGetCookie.
...
This version incorporates Lei Zhang's changes to the test, with his consent.
2007-11-15 11:07:46 +01:00
Hans Leidekker
b6ee3c1d6b
wininet: Fix a number of problems with InternetSetCookie.
2007-11-15 11:07:35 +01:00
Juan Lang
f15bbdcd5a
wininet: Initialize length of values that aren't being requested.
2007-11-09 12:25:01 +01:00
Andrew Talbot
2b8a6a3a06
wininet: Fix a memory leak.
2007-10-12 11:48:31 +02:00
Misha Koshelev
728e5fa559
wininet: Track child handles, free all child handles on WININET_FreeHandle as native.
2007-09-21 11:53:04 +02:00
Hans Leidekker
cd2c458588
wininet: Win64 printf format warning fixes.
2006-10-05 17:45:14 +02:00
Mike McCormack
24b886d916
wininet: Simple tests for InternetGetCookie's parameters.
2006-06-02 20:44:11 +02:00
Mike McCormack
68d18612a0
wininet: Fix up and test InternetSetCookie parameter checking.
2006-06-02 20:44:04 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Robert Shearman
15a7d3b2b4
wininet: Copy from the start of the cookie name, not the cookie data.
...
Copy from the start of the cookie name, not the cookie data when
parsing cookies with a NULL cookie name.
2006-03-20 12:01:25 +01:00
Robert Shearman
153aac0194
wininet: Move cookie-related stubs to cookie.c
2006-03-14 17:51:31 +01:00
Robert Shearman
1b8f7f0605
wininet: Fix InternetGetCookie with no matching cookies.
...
Return FALSE and an error of ERROR_NO_MORE_ITEMS from
InternetGetCookie when there are no cookies for the specified
domain. This fixes a bug in sending a blank cookie to HTTP servers.
2006-03-09 22:48:08 +01:00
Peter Berg Larsen
e732fc023d
Janitorial: Get rid of strncpy/strncpyW.
2005-03-28 14:17:51 +00:00
Francois Gouget
da8b3dd7f2
Assorted spelling fixes.
2005-01-26 21:09:04 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Michael Stefaniuc
7cb43c9dbe
Do not check for non NULL pointer before HeepFree'ing it. It's
...
redundant.
2004-12-21 14:42:35 +00:00
Alexandre Julliard
754e7aa788
Added configure check for socklen_t.
2004-09-03 18:30:28 +00:00
Robert Shearman
a584ffb951
Rewrite cookies to use shared list.h list code.
2004-07-21 19:36:53 +00:00
Robert Shearman
e27ab315fd
Fix size return from InternetGetCookieW.
2004-07-19 19:32:36 +00:00
Francois Gouget
6a6c85c6d8
Make Unicode const strings static so they are not copied to the stack
...
each time we enter the function.
2004-04-19 20:12:14 +00:00
Mike McCormack
3462299c55
Convert unicode strings to const.
2004-04-12 23:13:53 +00:00
Mike McCormack
44ef9a1f07
Unicodify the cookie handling code.
2004-03-30 20:38:08 +00:00
Mike McCormack
a4e902cbe1
Convert the wininet HTTP functions to Unicode.
2004-03-30 04:36:09 +00:00