mshtml: Fixed hash part stripping in GetQuery.
Spotted by Joris Huizer.
This commit is contained in:
parent
92643eb020
commit
9557f1c526
|
@ -2124,9 +2124,11 @@ 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;
|
||||
len = WideCharToMultiByte(CP_ACP, 0, ptr, ptr_end-ptr, NULL, 0, NULL, NULL);
|
||||
|
|
Loading…
Reference in New Issue