April 9, 2026
9:31 a.m.
Jacek Caban (@jacek) commented about dlls/iertutil/uri.c:
ignore_col = TRUE; } else { data->host_len = tmp - data->host; + /* Include the ':' in the host for unknown schemes with no port value */ + if(!data->has_port && data->scheme_type == URL_SCHEME_UNKNOWN) + data->host_len = *ptr - data->host;
I think it would be a bit more idiomatic to use `data->host_len++` here. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10542#note_135691