From b5e55511b60b6bd0b8c444859997c2fa45ded342 Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Mon, 7 Dec 2020 19:14:58 -0500 Subject: Backport UXP - [ui] Encode braille space --- base/content/browser.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/base/content/browser.js b/base/content/browser.js index 24649f8..22838d1 100755 --- a/base/content/browser.js +++ b/base/content/browser.js @@ -2390,9 +2390,9 @@ function losslessDecodeURI(aURI) { } // Encode invisible characters (C0/C1 control characters, U+007F [DEL], - // U+00A0 [no-break space], line and paragraph separator, - // object replacement character) (bug 452979, bug 909264) - value = value.replace(/[\u0000-\u001f\u007f-\u00a0\u2028\u2029\ufffc]/g, + // U+00A0 [no-break space], line and paragraph separator, braille space + // object replacement character) (bug 452979, bug 909264, bug 1629506) + value = value.replace(/[\u0000-\u001f\u007f-\u00a0\u2028\u2029\u2800\ufffc]/g, encodeURIComponent); // Encode default ignorable characters (bug 546013) -- cgit v1.2.3