From 64a92791ac66d3e9cbdcf069c7e50e06f7060447 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 3 Feb 2014 19:07:11 +0000 Subject: [PATCH] only string values can be decoded --- 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 e51a3963..446d80c5 100644 --- a/source/Ox.UI/js/Core/URL.js +++ b/source/Ox.UI/js/Core/URL.js @@ -723,7 +723,7 @@ Ox.URL = function(options) { hash.query = hash.query || []; hash.query.push({ key: decodeValue(key), - value: decodeValue(value) + value: Ox.isString(value) ? decodeValue(value) : value }); }); }