Commit Graph

1406 Commits

Author SHA1 Message Date
Francois Gouget 7786d37649 urlmon/tests: Fix CoInternetCombineIUri tests on Windows 10 1607 to 1709.
It does not check the relative path and thus will accept non-sensical %
codes. This is fixed in Windows 10 1809.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-22 13:31:25 +01:00
Sven Baars e59b2579b9 urlmon/tests: Expect BINDSTRING_SAMESITE_COOKIE_LEVEL on newer IE11.
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-22 13:30:36 +01:00
Sven Baars 8180e338ea urlmon/tests: Fix a test failure on Windows XP.
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-05 17:28:17 +01:00
Alexandre Julliard 42d2477edf urlmon: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-24 10:31:19 +02:00
Michael Stefaniuc 15619c773e urlmon: Use the standard field name for an inner IUnknown.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 19:23:11 +02:00
Dmitry Timoshkov 43c1992821 urlmon: If ProtocolCF_CreateInstance doesn't support aggregation retry without it.
This patch fixes a regression caused by 097811f251.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47190
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-22 19:16:05 +02:00
Dmitry Timoshkov 97529298a1 urlmon/tests: Add a test for ProtocolCF_CreateInstance not supporting aggregation.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-22 19:16:05 +02:00
Dmitry Timoshkov 9f89464e0e urlmon: Add CoInternetGetBrowserProfile stub.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 13:18:19 +02:00
Dmitry Timoshkov 39cc121640 urlmon: Add GetIUriPriv stub.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 20:02:21 +02:00
Dmitry Timoshkov d622ebdb10 urlmon: Add ShouldShowIntranetWarningSecband stub.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 20:02:10 +02:00
Dmitry Timoshkov 422b625c9b urlmon: Add support for PARSE_UNESCAPE to CoInternetParseUrl.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 20:01:43 +02:00
Jacek Caban a9b27c2b0d urlmon/tests: Make ParseUrl call tests more strict.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 09:24:58 +02:00
Alexandre Julliard 1dd25f2dea urlmon: Use strncmpiW instead of memicmpW for strings without embedded nulls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-08 08:35:05 -05:00
Francois Gouget bc501222f0 urlmon/tests: Minor spelling tweak in a comment.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 19:21:51 +02:00
Alistair Leslie-Hughes d99605d714 urlmon: Pass unescaped URLs to InternetOpenUrl in ftp protocol handler.
Based on a patch by André Hentschel.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=26445
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>
2019-03-26 20:25:14 +01:00
Michael Stefaniuc 554a804742 urlmon: Remove useless casts to self.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-01 17:48:26 +01:00
Sebastian Lackner 9c19b2e225 urlmon/tests: Add test for opening cache file with DELETE access.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-27 13:05:46 +01:00
Nikolay Sivov f8bf719482 urlmon/tests: Release correct uri object (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-20 15:34:01 +01:00
Nikolay Sivov f19fdad2ba urlmon/tests: Fix some leaks (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban<jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-20 15:34:01 +01:00
Nikolay Sivov 5cf1fa355f urlmon/tests: Add IsEqual test for custom IUri implementation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-19 17:21:08 +02:00
Michael Stefaniuc a2201e8add urlmon: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 10:49:06 +02:00
Nikolay Sivov 8665a60680 urlmon: Use ARRAY_SIZE() macro.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-09 22:20:59 +02:00
Michael Stefaniuc 1281a687c8 urlmon/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-19 20:53:06 +02:00
Jacek Caban d3a9af15d2 urlmon/tests: Added more ref counting and aggregation tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-22 10:24:32 +02:00
Jacek Caban 52aefc0611 urlmon: Ensure that inner protocol handler reference is released after other references.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-22 10:24:29 +02:00
Jacek Caban 749dbd81b1 urlmon/tests: Use the same thread for both connections in redirect tests.
Fixes a race spotted by Zebediah Figura.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-22 10:24:26 +02:00
Jacek Caban df976fd57a urlmon/tests: Handle ERROR_INTERNET_INVALID_CA security problem in https tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-22 10:24:17 +02:00
Jacek Caban 040d41df29 urlmon: Query for IWinInet[Http]Info on BindProtocol instead of protocol handler directly.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 19:47:28 +02:00
Jacek Caban f8f7efd548 urlmon: Use COM aggregation for IWinInetInfo and IWinInetHttpInfo interfaces in BindProtocol.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 19:47:28 +02:00
Jacek Caban 849fef0b82 urlmon: Support querying interfaces from aggregated handlers in BindProtocol.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 19:47:28 +02:00
Jacek Caban fd2fb4a7a5 urlmon/tests: Added more protocol COM aggregation tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 19:47:28 +02:00
Jacek Caban 097811f251 urlmon: Use COM aggregation for urlmon protocols in BindProtocol::StartEx.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 19:47:28 +02:00
Jacek Caban 5082e4df25 urlmon: Use protocol handler's IUnknown to query other interfaces in BindProtocol.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 19:47:28 +02:00
Jacek Caban 17574518d6 urlmon: Added support for COM aggregation to mk protocol handler.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Jacek Caban 44a9940256 urlmon: Added support for COM aggregation to ftp protocol handler.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Jacek Caban 8eeac66052 urlmon: Added support for COM aggregation to http protocol handler.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Jacek Caban 74989b6e41 urlmon: Added support for COM aggregation of file protocol handler.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Jacek Caban 114b070543 urlmon: Release protocol handler in BindProtocol::Terminate.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Jacek Caban 03183590bf urlmon: Don't store IWinInetInfo reference in BindProtocol.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Jacek Caban 73fd4b09ae urlmon: Don't store IWinInetHttpInfo reference in BindProtocol.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Jacek Caban 357da1e8a6 urlmon: Store aggregated protocol handler IUnknown in BindProtocol.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 20:29:36 +02:00
Alexandre Julliard 674f1337e4 urlmon/tests: Update the IP address for the WineHQ server.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 21:32:39 +02:00
Jacek Caban 216ad43f18 urlmon: Use HttpQueryInfoA in IWinInetHttpInfo::QueryInfo implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-26 20:18:31 +01:00
Zhiyi Zhang ac066d3eee urlmon: Do not canonicalize Unicode characters.
Signed-off-by: Zhiyi Zhang <yi.gd.cn@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-12 16:25:10 +01:00
Zebediah Figura 8d773e2c83 urlmon/tests: Fix a couple of allocations.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 19:38:30 +01:00
Michael Stefaniuc 6ec880993b urlmon/tests: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 15:13:51 +01:00
Michael Stefaniuc 3c1356888a urlmon: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 15:13:51 +01:00
Nikolay Sivov 45afe83256 urlmon/tests: Add some more PARSE_PATH_FROM_URL tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban<jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-18 18:44:01 +01:00
Joel Holdsworth 185bcc4523 urlmon: Support [Add.Code] sections in ActiveX INF files.
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-14 18:16:55 +01:00
Jacek Caban 05826d5a68 urlmon/tests: Added IBindStatusCallback marshaling tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-14 09:24:18 +01:00