From b0280295d290617dc92e98d3dc4653263d9e7d51 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Wed, 14 Aug 2013 19:32:29 +0000 Subject: [PATCH] _do_ encode '%' in values (to allow searching for the literal string '%5F') --- 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 a9662da5..a860693f 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);