iertutil: Add uri_AbsoluteUri() semi-stub.

Use raw URI as absolute URI for now. To make it fully compliant with RFC 3986 and 3987, we need to
implement a parser and reconstruct the absolute URI from parts.
This commit is contained in:
Zhiyi Zhang 2024-11-04 16:28:43 +08:00 committed by Alexandre Julliard
parent 0e5646ed49
commit 8734c9db41
Notes: Alexandre Julliard 2024-11-05 22:27:45 +01:00
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/wine/merge_requests/6773

View file

@ -96,8 +96,10 @@ static HRESULT STDMETHODCALLTYPE uri_GetTrustLevel(IUriRuntimeClass *iface, Trus
static HRESULT STDMETHODCALLTYPE uri_AbsoluteUri(IUriRuntimeClass *iface, HSTRING *value)
{
FIXME("iface %p, value %p stub!\n", iface, value);
return E_NOTIMPL;
FIXME("iface %p, value %p semi-stub!\n", iface, value);
/* TODO: Parse the raw URI and reconstruct it from parts according to RFC 3986 or RFC 3987 */
return IUriRuntimeClass_get_RawUri(iface, value);
}
static HRESULT STDMETHODCALLTYPE uri_DisplayUri(IUriRuntimeClass *iface, HSTRING *value)