diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-03-31 09:57:22 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-03-31 12:48:15 +0000 |
commit | 367991275b8f37b8bdd024eceddbb4c2bb981f76 (patch) | |
tree | 23666c013fd8a9298bda2db769ebe3192f46aa87 /community/firefox-esr/allow-utf8-fallback.patch | |
parent | 4c9e27a54c4f400e46645cb768b7743d2e29f9b1 (diff) | |
download | aports-367991275b8f37b8bdd024eceddbb4c2bb981f76.tar.bz2 aports-367991275b8f37b8bdd024eceddbb4c2bb981f76.tar.xz |
community/firefox-esr: upgrade to 45.0.1
Diffstat (limited to 'community/firefox-esr/allow-utf8-fallback.patch')
-rw-r--r-- | community/firefox-esr/allow-utf8-fallback.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/community/firefox-esr/allow-utf8-fallback.patch b/community/firefox-esr/allow-utf8-fallback.patch new file mode 100644 index 0000000000..d283d60422 --- /dev/null +++ b/community/firefox-esr/allow-utf8-fallback.patch @@ -0,0 +1,16 @@ +Allow user to actually set UTF-8 as the fallback charset. + +This is to allow UTF-8 as default for text/plain + +--- ./dom/encoding/FallbackEncoding.cpp.orig ++++ ./dom/encoding/FallbackEncoding.cpp +@@ -55,8 +55,7 @@ + // Don't let the user break things by setting the override to unreasonable + // values via about:config + if (!EncodingUtils::FindEncodingForLabel(override, mFallback) || +- !EncodingUtils::IsAsciiCompatible(mFallback) || +- mFallback.EqualsLiteral("UTF-8")) { ++ !EncodingUtils::IsAsciiCompatible(mFallback)) { + mFallback.Truncate(); + } + |