Commit 9557f1c5 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Fixed hash part stripping in GetQuery.

Spotted by Joris Huizer.
parent 92643eb0
......@@ -2124,8 +2124,10 @@ static nsresult NSAPI nsURL_GetQuery(nsIURL *iface, nsACString *aQuery)
ptr_end = url.lpszExtraInfo+url.dwExtraInfoLength;
for(ptr = url.lpszExtraInfo; ptr < ptr_end; ptr++) {
if(*ptr == '#')
if(*ptr == '#') {
ptr_end = ptr;
break;
}
}
ptr = url.lpszExtraInfo;
......
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