fixes bug 179026 "URL parameter containing non-ASCII characters is not

parsed correctly" r=dbradley sr=dveditz a=rjesup ADT+


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@133678 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
darin%netscape.com
2002-11-12 19:22:06 +00:00
parent 5dc878b30c
commit 891ff56586

View File

@@ -132,7 +132,7 @@ nsBaseURLParser::ParseURL(const char *spec, PRInt32 specLen,
}
// ignore trailing whitespace and control characters
for (p = spec + specLen - 1; (*p <= ' ') && (p != spec); --p);
for (p = spec + specLen - 1; ((unsigned char) *p <= ' ') && (p != spec); --p);
specLen = p - spec + 1;