fix for bug 27519, URL parser mangles parameters delimited by semicolons, adds them to requested filename, r=gagan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@60962 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e6e154f261
commit
99e8aa4ef6
@ -420,6 +420,7 @@ nsAuthURLParser::ParseAtDirectory(const char* i_Path, char* *o_Directory,
|
||||
int pieceLen = len - (brk + 1 - options);
|
||||
ExtractString(brk+1, o_Query, pieceLen);
|
||||
len -= pieceLen + 1;
|
||||
*brk = '\0';
|
||||
}
|
||||
|
||||
// Now look for ';'
|
||||
|
||||
@ -254,6 +254,7 @@ nsNoAuthURLParser::ParseAtDirectory(const char* i_Path, char* *o_Directory,
|
||||
int pieceLen = len - (brk + 1 - options);
|
||||
ExtractString(brk+1, o_Query, pieceLen);
|
||||
len -= pieceLen + 1;
|
||||
*brk = '\0';
|
||||
}
|
||||
|
||||
// Now look for ';'
|
||||
|
||||
@ -446,6 +446,7 @@ nsStdURLParser::ParseAtDirectory(const char* i_Path, char* *o_Directory,
|
||||
int pieceLen = len - (brk + 1 - options);
|
||||
ExtractString(brk+1, o_Query, pieceLen);
|
||||
len -= pieceLen + 1;
|
||||
*brk = '\0';
|
||||
}
|
||||
|
||||
// Now look for ';'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user