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

Alexandre Julliard julliard at winehq.org
Mon Oct 4 11:03:58 CDT 2010


Module: wine
Branch: master
Commit: 1674bdd9320896241ba4787bb2a6409e5893b3f8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1674bdd9320896241ba4787bb2a6409e5893b3f8

Author: Thomas Mullaly <thomas.mullaly at gmail.com>
Date:   Wed Sep 29 17:43:52 2010 -0400

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

---

 dlls/urlmon/uri.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/urlmon/uri.c b/dlls/urlmon/uri.c
index 2aee38a..1707429 100644
--- a/dlls/urlmon/uri.c
+++ b/dlls/urlmon/uri.c
@@ -3805,7 +3805,7 @@ static HRESULT validate_fragment(const UriBuilder *builder, parse_data *data, DW
         const WCHAR *component = 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,
                 debugstr_wn(data->fragment, data->fragment_len), data->fragment_len);
         else {




More information about the wine-cvs mailing list