Jacek Caban (@jacek) commented about dlls/mshtml/htmlwindow.c:
goto done; hres = IUri_GetPort(uri, &port);
- if(hres != S_OK)
- if(hres != S_OK) {
hres = FAILED(hres) ? hres : S_OK; /* some protocols don't have ports (e.g. res) */
Should we make sure that target URI also doesn't have a port?