From f16bbebfd4add4b5e87d9cfd8fb33a9f217c17ce Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Tue, 27 Aug 2013 09:07:17 +0000 Subject: [PATCH] fix a bug in Ox.decodeURI/Ox.decodeURIComponent --- source/Ox/js/Encoding.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox/js/Encoding.js b/source/Ox/js/Encoding.js index 00e3e896..0f4e66e0 100644 --- a/source/Ox/js/Encoding.js +++ b/source/Ox/js/Encoding.js @@ -254,7 +254,7 @@ Ox.decodeDeflate = function(string, callback) { try { Ox.decodeUTF8(string); ret = match.slice(0, length * 3) - + match.slice(length * 3).replace(/%/g, '%25'); + + replace(match.slice(length * 3)); return false; } catch(e) {} });