Commit Graph

21 Commits

Author SHA1 Message Date
Hans Leidekker 542998ee24 winhttp: Accept NULL buffer for size queries in WinHttpCreateUrl.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-27 16:31:44 +01:00
Carlo Bramini 613e23976e winhttp: Use return value of sprintf() instead of calling strlen() and simplify code.
Signed-off-by: Carlo Bramini <carlo_bramini@users.sourceforge.net>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-15 14:14:59 -06:00
Jacek Caban 985443ed87 winhttp: Don't perform buffer size tests for components that don't pass buffer in WinHttpCrackUrl.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-31 22:22:58 +09:00
Hans Leidekker 17b4abf47f winhttp: Validate the port number in WinHttpCrackUrl.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-16 22:38:38 +09:00
Hans Leidekker 1d07f89879 winhttp: Set required buffer length for all components in WinHttpCrackUrl.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-16 22:38:35 +09:00
Hans Leidekker 1def0982f1 winhttp: Always clear last error on success. 2015-08-03 20:50:33 +02:00
Hans Leidekker 069df69900 winhttp: Only set the scheme if we have a valid URL. 2014-05-24 11:00:39 +09:00
Hans Leidekker 465f85e89d winhttp: Ignore URL components if the buffer length is zero. 2014-05-24 11:00:28 +09:00
Hans Leidekker 9a5ad30225 winhttp: Support ICU_ESCAPE in WinHttpCrackUrl. 2011-12-01 14:17:58 +01:00
Hans Leidekker 9a2f3cb98a winhttp: Consistently use the allocation macros. 2011-12-01 14:17:51 +01:00
Hans Leidekker dcf1a81d8c winhttp: Accept a missing buffer when parsing a decoded URL. 2011-11-15 19:37:30 +01:00
Hans Leidekker 9432b8e796 winhttp: Don't depend on shlwapi for decoding a URL. 2011-08-05 15:26:12 +02:00
André Hentschel 1c7d45c093 winhttp: Port numbers are unsigned (more). 2011-03-29 12:34:26 +02:00
Maciej Borsz 2ca477c831 winhttp: Fix invalid behaviour of WinHttpCrackUrl. 2010-03-17 10:59:59 +01:00
Hans Leidekker 6cde75646a winhttp: Make tests pass on Win7. Conform to the more recent behavior. 2009-09-08 12:12:22 +02:00
Hans Leidekker c5fa3ec216 winhttp: Set last error for invalid URLs passed to WinHttpCrackUrl. 2009-01-05 16:37:40 +01:00
Paul TBBle Hampson 4876375ab8 winhttp: Correctly parse specified ports in WinHttpCrackUrl. 2008-12-31 14:07:05 +01:00
Hans Leidekker b527d9905c winhttp: Validate parameters per component in WinHttpCrackUrl. 2008-12-11 14:32:15 +01:00
Hans Leidekker 2c850276a0 winhttp: Reimplement WinHttpCrackUrl. 2008-11-18 11:52:54 +01:00
Aric Stewart 3590a4227f winhttp: Correct another difference between InternetCrackurl and WinHttpCrackUrl. 2008-11-12 13:41:10 +01:00
Hans Leidekker bba66c99b6 winhttp: Implement WinHttpCreateUrl. 2008-09-23 14:03:19 +02:00