diff --git a/source/Ox.UI/js/Core/URL.js b/source/Ox.UI/js/Core/URL.js index 446d80c5..2d84eec9 100644 --- a/source/Ox.UI/js/Core/URL.js +++ b/source/Ox.UI/js/Core/URL.js @@ -475,7 +475,9 @@ Ox.URL = function(options) { var obj = {}; if (hash.query) { hash.query.forEach(function(condition) { - obj[encodeValue(condition.key)] = encodeValue(condition.value); + obj[encodeValue(condition.key)] = Ox.isString(condition.value) + ? encodeValue(condition.value) + : condition.value; }); } return hash.anchor || hash.query