Tim Clem
d473c09cc1
wininet: Treat dwUrlLength as a maximum in InternetCrackUrlW.
...
Signed-off-by: Tim Clem <tclem@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-07 16:33:29 +02:00
Tim Clem
681ce692a0
wininet: Make heap_strndupAtoW stop at the first null.
...
The analogous heap_strndupW already does this. Fixes InternetCrackUrlA
behavior when passed a dwUrlLength that's past the end of the string.
Signed-off-by: Tim Clem <tclem@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-07 11:34:42 +02:00
Tim Clem
d4a417f885
wininet/tests: Test InternetCrackUrl when given a bogus length.
...
Windows will stop processing at the first null, even when given an
explicit length.
Signed-off-by: Tim Clem <tclem@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-07 11:34:39 +02:00
Jacek Caban
4335be3462
wininet: Don't set default gopher protocol in InternetCrackUrlW.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-19 18:38:22 +01:00
Jacek Caban
64cb9425da
wininet: Add missing schemes to url_schemes.
...
Fixes res URL scheme handling.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=31399
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-19 18:38:22 +01:00
Michael Müller
bfe8510ec0
wininet: Resize buffer when call to InternetCanonicalizeUrlW fails in InternetCrackUrlW.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=40598
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-07 19:27:29 +02:00
Michael Stefaniuc
8d876e740e
wininet/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-22 01:01:55 +02:00
Bernhard Übelacker
0fcecad8d8
wininet/tests: Fix pathLen given to InternetCrackUrlA.
...
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-04 10:53:03 -05:00
Sebastian Lackner
93832ef88d
wininet/tests: Add a test for recently introduced regression related to InternetCrackUrl.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 23:07:20 +09:00
Sebastian Lackner
259b517f2b
wininet/tests: Avoid unnecessary initialization of variables.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 23:07:20 +09:00
Michael Müller
cacad1df98
wininet: Correctly set lpszUrlPath in InternetCrackUrlW for urls without path component.
...
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 23:07:20 +09:00
Michael Müller
9e4df5ef79
wininet/tests: Fix some typos in ok() messages.
...
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-07 19:58:02 +09:00
Jacek Caban
4be4e282b7
wininet/tests: Added tests of InternetCrackUrl with URLs longer than INTERNET_MAX_URL_LENGTH.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-27 23:59:10 +09:00
Huw Davies
fec1ed454c
wininet/tests: Don't test GetLastError() on success.
2014-05-15 19:04:53 +02:00
Jacek Caban
e857a70ae2
wininet: Compile tests with -D__WINESRC__.
2013-10-24 19:01:55 +02:00
Piotr Caban
c8d1d76909
wininet: Do case-insensitive compare when looking for scheme.
2013-04-01 14:07:57 +02:00
Andrew Eikum
d6c0e8159b
wininet: Fail on URLs without a scheme.
2013-01-02 13:10:51 +01:00
Erich Hoover
499c53175b
wininet: Fix InternetCrackUrl parsing URLs containing a semicolon.
2012-11-16 19:25:11 +01:00
Alex Henrie
0b64d319c9
wininet: Support ICU_ENCODE_PERCENT, ICU_ENCODE_SPACES_ONLY, and ICU_NO_META.
2012-07-31 10:53:54 +02:00
Michael Stefaniuc
92c97c1710
wininet/tests: Remove wrong check for 'len'.
2012-05-22 17:44:02 +02:00
André Hentschel
145031b8d4
wininet/tests: Don't call GetLastError() twice.
2010-12-31 11:42:35 +01:00
Francois Gouget
9ca197261d
wininet/tests: Add a trailing '\n' to ok() calls.
2010-11-02 13:16:14 +01:00
Jacek Caban
fa5839399f
wininet: Skip more tests on IE older than 6.0.
2010-10-19 13:47:58 +02:00
Andrew Eikum
3555226acf
wininet: Clean up returned UrlPath for file protocol URLs.
2010-10-06 11:20:23 +02:00
Marcus Meissner
3d5a3a32ce
wininet: Fixed buffer lengths in InternetCrackUrlW tests.
2010-06-10 17:17:57 +02:00
Jacek Caban
e5574369dd
wininet: Fixed tests on older IEs.
2009-12-29 11:07:26 +01:00
Jacek Caban
672f021e2b
wininet: Test also InternetCrackUrlW in test_crack_url.
2009-12-28 11:57:47 +01:00
Jacek Caban
5b76702e84
wininet: Set lpszUrlPath in InternetCrackUrlW if its length is 0.
2009-12-10 11:55:58 +01:00
Jacek Caban
d153344eaa
wininet: Make InternetCrackUrlA tests more generic and add more tests.
2009-12-10 11:55:52 +01:00
Andrew Eikum
0250eab25e
wininet: Always extract #fragments in InternetCrackUrl.
2009-09-29 12:31:51 +02:00
Paul Vriens
2266219ca6
wininet/tests: Don't crash on systems with IE5.
2009-03-09 12:05:06 +01:00
Paul Vriens
c01d0ade50
wininet/tests: Skip tests for not implemented functions.
2009-03-09 12:05:02 +01:00
Alexandre Julliard
31c7ddea27
wininet/tests: Avoid using size_t in a trace.
2008-12-04 14:32:49 +01:00
Hans Leidekker
5a1a26310e
wininet: Append the extra info part in InternetCreateUrl{A, W}.
2008-12-02 14:08:26 +01:00
Dan Kegel
bcdb10a9ed
wininet: InternetCrackUrlW: For URLs that have no urlpath, native clears lpszUrlPath.
2008-06-24 12:20:44 +02:00
Francois Gouget
44b52b128c
Assorted spelling fixes.
2008-01-16 12:48:29 +01:00
Austin English
0e4adae973
Spelling fixes.
2008-01-07 13:41:01 +01:00
Roy Shea
91d07f6995
wininet: Added check of dwStructSize required by Windows in calls to InternetCrackUrlA.
2007-12-05 12:05:37 +01:00
Roy Shea
7903d7f3f4
wininet: Removed inline from copy_compsA and zero_compsA to allow Windows testing.
2007-12-05 12:05:10 +01:00
Paul Vriens
36e416b614
wininet/tests: Fix test failures for wininet.dll that comes with IE7.
2007-08-17 11:47:46 +02:00
Hans Leidekker
c1c6f4ad6b
wininet: Also set last error on NULL first parameter in InternetCreateUrl{A, W}.
2007-08-10 12:58:17 +02:00
Hans Leidekker
d10891eab9
wininet: Don't crash on NULL first or last parameter in InternetCrackUrlW.
2007-08-10 12:58:17 +02:00
Michael Stefaniuc
c576803f6d
wininet: Remove superfluous casts of void pointers to other pointer types.
2007-06-27 12:53:42 +02:00
Francois Gouget
bf81fdc248
wininet/tests: Print GetLastError() in decimal with '%u'.
2007-01-08 12:06:27 +01:00
Paul Vriens
cae03f7658
wininet/test: Free memory after use.
2006-12-06 11:26:52 +01:00
Hans Leidekker
de3b5be338
wininet/tests: Win64 printf format warning fixes.
2006-10-05 17:45:09 +02:00
James Hawkins
a1544731db
wininet: Add more tests for InternetCrackurl.
2006-07-17 13:46:11 +02:00
Andrew Talbot
cf371a1ef8
wininet/tests: Write-strings warnings fix.
2006-06-21 11:15:28 +02:00
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
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00