handle escaped quotes in hash

This commit is contained in:
j 2014-02-14 09:19:05 +00:00
parent 64a1aa65eb
commit 739da2976a

View file

@ -728,7 +728,7 @@ Ox.URL = function(options) {
hash.anchor = decodeValue(split[0]);
}
if (split[1]) {
Ox.forEach(Ox.unserialize(split[1], true), function(value, key) {
Ox.forEach(Ox.unserialize(Ox.decodeURIComponent(split[1]), true), function(value, key) {
hash.query = hash.query || [];
hash.query.push({
key: decodeValue(key),