http://bugs.winehq.org/show_bug.cgi?id=16831
--- Comment #14 from TJ support@tjworld.net 2009-01-07 16:03:39 --- Created an attachment (id=18563) --> (http://bugs.winehq.org/attachment.cgi?id=18563) Force HTTPS when INTERNET_FLAG_SECURE
This is the patch that represents option 4, tested and working. The following trace extract shows the patch reporting itself and the resulting URL passed to InternetCrackUrlW():
trace:wininet:INTERNET_InternetOpenUrlW (0x26be3d8, L"http://www.audible.com/cgi-bin/licensemgr.cgi?"..., (null), 00000000, 80800002, 00000000) trace:wininet:INTERNET_InternetOpenUrlW adjusting protocol to HTTPS since INTERNET_FLAG_SECURE && "http:" trace:wininet:InternetCrackUrlW (L"https://www.audible.com/cgi-bin/licensemgr.cgi?action="...) ... trace:wininet:NETCON_init using SSL connection