30 May
2023
30 May
'23
11:30 a.m.
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? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2915#note_34129