From 36bb548879e3ab57e4dbafed950864560486f470 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 18 Feb 2014 06:12:44 +0000 Subject: [PATCH] Ox.URL: encode '?' in query too --- 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 098b198a..32d993fa 100644 --- a/source/Ox.UI/js/Core/URL.js +++ b/source/Ox.UI/js/Core/URL.js @@ -580,7 +580,7 @@ Ox.URL = function(options) { } function encodeValue(value, isItem) { - var chars = isItem ? '/?#%' : '*=&|()#%', + var chars = isItem ? '/?#%' : '*=&|()?#%', ret = ''; value.toString().split('').forEach(function(char) { var index = chars.indexOf(char);