Ox.URL: fix a bug when decoding multiple tabs in url

This commit is contained in:
rlx 2013-08-27 15:02:23 +00:00
commit 0c60ca25da

View file

@ -563,7 +563,7 @@ Ox.URL = function(options) {
} }
function decodeValue(value) { function decodeValue(value) {
return Ox.decodeURIComponent(value).replace(/_/g, ' ').replace(Ox.char(9), '_'); return Ox.decodeURIComponent(value).replace(/_/g, ' ').replace(/\t/g, '_');
} }
function encodeValue(value, isItem) { function encodeValue(value, isItem) {