http://bugs.winehq.org/show_bug.cgi?id=16831
TJ support@tjworld.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #18564|0 |1 is obsolete| |
--- Comment #18 from TJ support@tjworld.net 2009-01-08 04:10:43 --- Created an attachment (id=18575) --> (http://bugs.winehq.org/attachment.cgi?id=18575) Force HTTPS when INTERNET_FLAG_SECURE - v3
OK, how about a variation since it makes most sense in minimising the code confusion and repetition?
Move the code from InternetCrackUrlW() to a new INTERNET_InternetCrackUrlW() that takes a 'bFix' flag and the connection flags, and that conditionally does the fix-up when bFix == TRUE.
Call the new function from the WINAPI InternetCrackUrlW() with bFix = FALSE to maintain existing functionality and parameter usage.
In INTERNET_InternetOpenUrlW() call INTERNET_InternetCrackUrlW() with bFix = TRUE and the connection flags to use the fix-up.