http://bugs.winehq.org/show_bug.cgi?id=16831
--- Comment #11 from TJ support@tjworld.net 2009-01-07 14:41:19 --- 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.