http://bugs.winehq.org/show_bug.cgi?id=16831
--- Comment #12 from Hans Leidekker hans@meelstraat.net 2009-01-07 14:59:35 ---
The patch suggested has an obvious logic problem - although it will handle this bug's scenario it won't be able to deal with
"https://host.domain:80/path/to/file?querystring=1#4"
It would cause nPort to be changed from 80 to 443 when the port had explicitly been specified.
I'm not proposing it as the final solution, just as a debugging patch. We'll need test cases to find out what happens with other permutations of scheme, port and secure flag.