Bug 233352 - Make ecmaUnescape work with lower-case encodes!
ChatZilla only. r=rginda git-svn-id: svn://10.0.0.236/trunk@168553 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -274,7 +274,7 @@ function ecmaUnescape(str)
|
||||
{
|
||||
function replaceEscapes(seq)
|
||||
{
|
||||
var ary = seq.match(/([\da-f]{1,2})(.*)|u([\da-f]{1,4})/);
|
||||
var ary = seq.match(/([\da-f]{1,2})(.*)|u([\da-f]{1,4})/i);
|
||||
if (!ary)
|
||||
return "<ERROR>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user