mshtml: Fixed hash part stripping in GetQuery.

Spotted by Joris Huizer.
This commit is contained in:
Jacek Caban 2010-09-18 22:14:49 +02:00 committed by Alexandre Julliard
parent 92643eb020
commit 9557f1c526
1 changed files with 3 additions and 1 deletions

View File

@ -2124,8 +2124,10 @@ static nsresult NSAPI nsURL_GetQuery(nsIURL *iface, nsACString *aQuery)
ptr_end = url.lpszExtraInfo+url.dwExtraInfoLength; ptr_end = url.lpszExtraInfo+url.dwExtraInfoLength;
for(ptr = url.lpszExtraInfo; ptr < ptr_end; ptr++) { for(ptr = url.lpszExtraInfo; ptr < ptr_end; ptr++) {
if(*ptr == '#') if(*ptr == '#') {
ptr_end = ptr;
break; break;
}
} }
ptr = url.lpszExtraInfo; ptr = url.lpszExtraInfo;