Commit 1674bdd9 authored by Thomas Mullaly's avatar Thomas Mullaly Committed by Alexandre Julliard

urlmon: validate_fragment works better if it actually calls parse_fragment instead of parse_query.

parent 73efb62f
...@@ -3805,7 +3805,7 @@ static HRESULT validate_fragment(const UriBuilder *builder, parse_data *data, DW ...@@ -3805,7 +3805,7 @@ static HRESULT validate_fragment(const UriBuilder *builder, parse_data *data, DW
const WCHAR *component = ptr; const WCHAR *component = ptr;
pptr = &ptr; pptr = &ptr;
if(parse_query(pptr, data, flags) && expected_len == data->fragment_len) if(parse_fragment(pptr, data, flags) && expected_len == data->fragment_len)
TRACE("(%p %p %x): Valid fragment component %s len=%d.\n", builder, data, flags, TRACE("(%p %p %x): Valid fragment component %s len=%d.\n", builder, data, flags,
debugstr_wn(data->fragment, data->fragment_len), data->fragment_len); debugstr_wn(data->fragment, data->fragment_len), data->fragment_len);
else { else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment