fix a bug in Ox.decodeURI/Ox.decodeURIComponent

This commit is contained in:
rlx 2013-08-27 09:07:17 +00:00
parent 0f5d475c78
commit f16bbebfd4

View file

@ -254,7 +254,7 @@ Ox.decodeDeflate = function(string, callback) {
try { try {
Ox.decodeUTF8(string); Ox.decodeUTF8(string);
ret = match.slice(0, length * 3) ret = match.slice(0, length * 3)
+ match.slice(length * 3).replace(/%/g, '%25'); + replace(match.slice(length * 3));
return false; return false;
} catch(e) {} } catch(e) {}
}); });