From 7576654e0d4ba7c628c3d42096b36544c452a140 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 14 Aug 2013 18:31:50 +0000 Subject: [PATCH] escape % in urls, fixes #1817 --- source/Ox.UI/js/Core/URL.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Core/URL.js b/source/Ox.UI/js/Core/URL.js index 7af95e5e..b7a58546 100644 --- a/source/Ox.UI/js/Core/URL.js +++ b/source/Ox.UI/js/Core/URL.js @@ -568,7 +568,7 @@ Ox.URL = function(options) { function encodeValue(value) { // var chars = '/&|()=*:'; - var chars = '&|()=*', + var chars = '&|()=*%', ret = ''; value.toString().split('').forEach(function(char) { var index = chars.indexOf(char);