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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user