зеркало из https://github.com/mozilla/gecko-dev.git
Bug 338859 [RFC 2231] even if the attachment file name has 0x2f, it's not escaped r+sr=mscott
This commit is contained in:
Родитель
ba0803d3a8
Коммит
65d8bcd6f6
|
@ -1244,8 +1244,7 @@ RFC2231ParmFolding(const char *parmName, const nsAFlatCString& charset,
|
|||
needEscape = PR_TRUE;
|
||||
nsCAutoString nativeParmValue;
|
||||
ConvertFromUnicode(charset.get(), parmValue, nativeParmValue);
|
||||
dupParm = nsEscape(nativeParmValue.get(), isAsciiPreserving(charset) ?
|
||||
url_Path : url_All);
|
||||
dupParm = nsEscape(nativeParmValue.get(), url_XAlphas);
|
||||
}
|
||||
else {
|
||||
needEscape = PR_FALSE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче