mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Bug 875615: re-enable RFC2047 decoding (disable bug 601933) until we have telemetry r=jduell
This commit is contained in:
parent
b82bc8ad72
commit
2b3690735e
@ -94,7 +94,10 @@ nsMIMEHeaderParamImpl::DoGetParameter(const nsACString& aHeaderVal,
|
||||
|
||||
nsAutoCString str1;
|
||||
rv = internalDecodeParameter(med, charset.get(), nullptr, false,
|
||||
aDecoding == MIME_FIELD_ENCODING, str1);
|
||||
// was aDecoding == MIME_FIELD_ENCODING
|
||||
// see bug 875615
|
||||
true,
|
||||
str1);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
if (!aFallbackCharset.IsEmpty())
|
||||
|
@ -266,11 +266,11 @@ var tests = [
|
||||
// Bug 601933: RFC 2047 does not apply to parameters (at least in HTTP)
|
||||
["attachment; filename==?ISO-8859-1?Q?foo-=E4.html?=",
|
||||
"attachment", "foo-\u00e4.html",
|
||||
"attachment", "=?ISO-8859-1?Q?foo-=E4.html?="],
|
||||
/* "attachment", "=?ISO-8859-1?Q?foo-=E4.html?=" */],
|
||||
|
||||
["attachment; filename=\"=?ISO-8859-1?Q?foo-=E4.html?=\"",
|
||||
"attachment", "foo-\u00e4.html",
|
||||
"attachment", "=?ISO-8859-1?Q?foo-=E4.html?="],
|
||||
/* "attachment", "=?ISO-8859-1?Q?foo-=E4.html?=" */],
|
||||
|
||||
// format sent by GMail as of 2012-07-23 (5987 overrides 2047)
|
||||
["attachment; filename=\"=?ISO-8859-1?Q?foo-=E4.html?=\"; filename*=UTF-8''5987",
|
||||
|
Loading…
x
Reference in New Issue
Block a user