Commit graph

467 commits

Author SHA1 Message Date
Alexandre Julliard
68e4cf4a0b wininet/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:58:30 +02:00
Alexandre Julliard
9936feef07 include: Make the Dll* entry points hidden. 2006-06-12 16:18:01 +02:00
Phil Lodwick
3575918411 wininet: ftp: Fix crash if input buffer is larger than MAX_PATH. 2006-06-08 10:17:41 +02:00
Phil Lodwick
5ea41cc5fb wininet: ftp: 125 is an acceptable response code for the STORE command. 2006-06-08 10:17:27 +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
Mike McCormack
7b3cf21dc1 wininet: Remove some dead code (Coverity). 2006-06-02 20:43:58 +02:00
Mike McCormack
739cd1ea32 wininet: Don't crash when querying NULL values. 2006-05-30 19:29:52 +02:00
Mike McCormack
8af1faec24 wininet: Add a test for basic authentication. 2006-05-30 19:29:48 +02:00
Andrew Ziem
7053321926 wininet: Constify data. 2006-05-25 11:01:06 +02:00
Mike McCormack
e480b6d07d wininet: Fix a possible NULL pointer deference. 2006-05-24 14:37:05 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman
d4245634ca wininet: Fix a failing test. 2006-05-23 11:36:41 +02:00
Mike McCormack
854808d9d4 wininet: Add a standalone http test. 2006-05-16 20:21:34 +02:00
Mike McCormack
8dcb4479f3 wininet: Make sure hIC is valid before trying to use it. (Coverity) 2006-05-16 20:21:28 +02:00
Mike McCormack
2eec6b04c0 wininet: Return correct errors in InternetOpenUrlW. 2006-05-16 12:40:31 +02:00
Mike McCormack
f57360af52 wininet: Return correct errors in InternetConnectW 2006-05-16 12:40:23 +02:00
Mike McCormack
746bf215e0 wininet: Remove broken code for HTTP_QUERY_FLAG_COALESCE, which is unimplemented according to MSDN. 2006-05-15 11:04:50 +02:00
Mike McCormack
35f0965c43 wininet: Check for null parameters in FtpSetCurrentDirectoryW. 2006-05-15 11:04:32 +02:00
Mike McCormack
a27eee868e wininet: Fix a typo (spotted by Coverity). 2006-05-11 12:10:20 +02:00
Michael Stefaniuc
a87520036f janitorial: Remove redundant NULL pointer checks before HeapFree'ing them.
Some HeapFree's are hidden behind macros. Found by smatch.
2006-05-10 11:31:41 +02:00
Robert Shearman
64ff0e54a3 wininet: Initialise the LPWITHREADERROR structure after it has been allocated. 2006-05-05 16:35:48 +02:00
Mike McCormack
c1dce86f1f wininet: Fix peeking of http data with a nul byte in it. 2006-05-05 16:33:30 +02:00
Robert Shearman
d133ff9afb wininet: Don't allocate memory for the thread error structure until it is needed.
Don't allocate memory for the thread error structure until it is
needed, as it is quite large and wastes memory for threads that don't
call any wininet function.
2006-04-20 15:16:52 +02:00
Antonio Codazzi
33a232a4a2 wininet: Added Esperanto language. 2006-04-11 11:31:02 +02:00
Antonio Codazzi
f2d320b0a6 wininet: Italian language update. 2006-04-11 11:26:30 +02:00
Robert Shearman
c564ee826f wininet: Fix some string length calculations.
Fix some string length calculations that didn't account for the
different sized characters with Unicode.
2006-03-30 21:55:37 +02:00
Robert Shearman
4f40f17226 wininet: Only access the URL in the cache by the provided offset. 2006-03-30 21:55:29 +02:00
Mike McCormack
92ddc1c851 wininet: Clean up HTTP_GetCustomHeaderIndex. 2006-03-30 12:41:04 +02:00
Mike McCormack
7f5e273214 wininet: Use a lookup table sorted by index so we don't need a loop to do lookups. 2006-03-30 12:40:47 +02:00
Mike McCormack
ae300883fa WININET: Clean up HttpQueryInfo.
Fixes another return FALSE without SetLastError.
2006-03-30 12:40:05 +02:00
Mike McCormack
2571fa004a wininet: Make sure to set LastError when returning FALSE in HttpQueryInfo. 2006-03-30 12:38:14 +02:00
Francois Gouget
6bddeb1cf7 Assorted spelling fixes. 2006-03-21 20:10:39 +01:00
Robert Shearman
dc03c0e3f3 wininet: Document InternetCrackUrlW. 2006-03-21 16:19:06 +01:00
Robert Shearman
80e4fb5975 wininet: InternetCreateUrlW should return the number of bytes needed.
InternetCreateUrlW should return the number of bytes needed to store
the URL, not the number of characters (reported by Sven Paschukat).
2006-03-21 16:19:06 +01: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
András Kovács
a2a4029e40 wininet: Added Hungarian translation. 2006-03-15 11:34:10 +01:00
Robert Shearman
74cb03247d wininet: Move URL-related tests to a separate file. 2006-03-14 18:49:19 +01:00
Robert Shearman
366fc247fc wininet: Make InternetCrackUrlW set the components related to net_loc
to NULL when net_loc isn't present in the input URL.
2006-03-14 17:51:51 +01:00
Robert Shearman
153aac0194 wininet: Move cookie-related stubs to cookie.c 2006-03-14 17:51:31 +01:00
Robert Shearman
5b5d45586e wininet: Implement setting of send and receive timeouts. 2006-03-14 17:50:41 +01:00
Robert Shearman
0252e5e875 wininet: Fix the conversion of NULL component values from InternetCreateUrlA. 2006-03-13 13:33:03 +01:00
Robert Shearman
f18305b176 wininet: Host name isn't present when two slashes aren't present in InternetCrackUrl.
The test for "about:" in InternetCrackUrlW should be more general so
that only URLs without double slashes should also be assumed not to
have a host name.

Add another test for this case and remove an unreliable
InternetCreateUrl test.
2006-03-13 13:32:45 +01:00
Robert Shearman
ae677d356c wininet: InternetCrackUrl should set nPort to the default port if not specified. 2006-03-13 13:32:20 +01:00
Robert Shearman
ef20936c53 wininet: Don't duplicate empty strings. 2006-03-10 21:40:57 +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
Robert Shearman
e4adc07333 wininet: Fix an off-by-one error in InternetCreateUrlW.
Fix an off-by-one error in the size of buffer used to store the port
number in InternetCreateUrlW.
2006-03-09 22:47:50 +01:00
Robert Shearman
b0fcaf9d48 wininet: Further InternetCreateFileW fixes.
- Add the slash after the port number.
- Only add the port number if the host name is present.
2006-03-09 22:47:35 +01:00
Robert Shearman
d3047aaeba wininet: If necessary, add a slash between the hostname and path in
InternetCreateUrlW.
2006-03-09 22:47:16 +01:00
Robert Shearman
8eab78c235 wininet: More InternetCreateUrlW fixes.
- Don't add double slashes for opaque URLs.
- The default port number for all other schemes is 0.
2006-03-09 22:47:00 +01:00