Bug 1271291 - Fix for Alien Monster bug f=frg r=IanN a=IanN
authorPhilip Chee <philip.chee@gmail.com>
Sat, 21 May 2016 22:24:33 +0200
changeset 31295 d314c213a6ddae8cdf17532f3b697f7130e38327
parent 31294 b0ddb02137a7edf140a908349cc4ee5a7c05ec51
child 31296 ea3b42868a226072f53cdd11b097f8e3d6910d0d
push id1
push userclokep@gmail.com
push dateMon, 07 May 2018 22:45:56 +0000
treeherdercomm-esr60@57eacde5ef40 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersIanN, IanN
bugs1271291
Bug 1271291 - Fix for Alien Monster bug f=frg r=IanN a=IanN
suite/browser/navigator.js
--- a/suite/browser/navigator.js
+++ b/suite/browser/navigator.js
@@ -2080,17 +2080,17 @@ function losslessDecodeURI(aURI) {
   // Encode invisible characters (soft hyphen, zero-width space, BOM,
   // line and paragraph separator, word joiner, invisible times,
   // invisible separator, object replacement character,
   // C0/C1 controls). (bug 452979, bug 909264)
   // Encode bidirectional formatting characters.
   // (RFC 3987 sections 3.2 and 4.1 paragraph 6)
   // Re-encode whitespace so that it doesn't get eaten away
   // by the location bar (bug 410726).
-  return value.replace(/[\u0000-\u001f\u007f-\u00a0\u00ad\u034f\u061c\u115f\u1160\u17b4\u17b5\u180b-\u180d\u200b\u200e\u200f\u2028-\u202e\u2060-\u206f\u3164\udb40-\udb43\udc00-\udfff\ufe00-\ufe0f\ufeff\uffa0\ufff0-\ufff8\ufffc]|i\ud834[\udd73-\udd7a]/g, encodeURIComponent);
+  return value.replace(/[\u0000-\u001f\u007f-\u00a0\u00ad\u034f\u061c\u115f\u1160\u17b4\u17b5\u180b-\u180d\u200b\u200e\u200f\u2028-\u202e\u2060-\u206f\u3164\ufe00-\ufe0f\ufeff\uffa0\ufff0-\ufff8\ufffc]|\ud834[\udd73-\udd7a]|[\udb40-\udb43][\udc00-\udfff]/g, encodeURIComponent);
 }
 
 /**
  * Use Stylesheet functions.
  *     Written by Tim Hill (bug 6782)
  *     Frameset handling by Neil Rashbrook <neil@parkwaycc.co.uk>
  **/
 /**