only string values can be decoded

This commit is contained in:
j 2014-02-03 19:07:11 +00:00
parent f858b779e8
commit 64a92791ac

View file

@ -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
});
});
}