icecat: add release icecat-140.6.0-1gnu1 for aramo

This commit is contained in:
Ark74 2026-01-17 18:56:47 -06:00
parent 92fef42cd6
commit 17ba0259bf
3382 changed files with 457689 additions and 569094 deletions

View file

@ -1953,10 +1953,13 @@ var XULBrowserWindow = {
if (url) {
url = Services.textToSubURI.unEscapeURIForUI(url);
// Encode bidirectional formatting characters.
// (RFC 3987 sections 3.2 and 4.1 paragraph 6)
/**
* Encode bidirectional formatting characters.
* @see https://url.spec.whatwg.org/#url-rendering-i18n
* @see https://www.unicode.org/reports/tr9/#Directional_Formatting_Characters
*/
url = url.replace(
/[\u200e\u200f\u202a\u202b\u202c\u202d\u202e]/g,
/[\u061c\u200e\u200f\u202a-\u202e\u2066-\u2069]/g,
encodeURIComponent
);