Commit Graph

59 Commits

Author SHA1 Message Date
Piotr Caban 103693e43b wininet: Load persistent cookies from other paths in get_cookie function. 2013-04-24 19:42:19 +02:00
Piotr Caban 97e0cf9f5f wininet: Fixed memory leak in load_persistent_cookie. 2013-04-01 14:08:02 +02:00
Jacek Caban f877fe9ba4 wininet: Properly handle output buffer size in InternetGetCookieA. 2012-12-28 11:26:56 +01:00
Jacek Caban 0c02e35841 wininet: Properly handle output buffer size in InternetGetCookieW. 2012-12-28 11:26:52 +01:00
Piotr Caban a62e3f6442 wininet: NULL terminate cookie data in load_persistent_cookie function. 2012-12-21 17:29:03 +01:00
Jacek Caban 21e7e28d64 wininet: Fixed NULL cookie data pointer handling in InternetGetCookieA. 2012-12-03 19:13:23 +01:00
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