Bug 1271291 - Fix for Alien Monster bug f=frg r=IanN a=IanN
authorPhilip Chee <philip.chee@gmail.com>
Sat, 21 May 2016 22:16:14 +0200
changeset 24889 b9cb19ec4335a720eafe4628c2352093352c675a
parent 24888 7f9f400fd2c0d87c3089c0997f6a4a5b7f0c4009
child 24890 a88a6a88c599fc34e298b806270d1d1c9d38bd8b
push id1657
push userclokep@gmail.com
push dateMon, 06 Jun 2016 19:50:21 +0000
treeherdercomm-beta@9fac989284b5 [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
@@ -2092,17 +2092,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>
  **/
 /**