uri decode map query value, fixes #432

This commit is contained in:
j 2012-02-16 21:46:12 +05:30
parent ac25a69aaa
commit d13d0e3d3f

View file

@ -526,7 +526,7 @@ Ox.URL = function(options) {
} }
if (!state.span && /^[A-Z@]/.test(parts[0])) { if (!state.span && /^[A-Z@]/.test(parts[0])) {
// test for span id or name // test for span id or name
self.options.getSpan(state.item, state.view, parts[0].replace(/%20/g, ' '), function(span, view) { self.options.getSpan(state.item, state.view, decodeValue(parts[0]), function(span, view) {
Ox.Log('Core', 'span/view', span, view) Ox.Log('Core', 'span/view', span, view)
if (span) { if (span) {
if (!state.view) { if (!state.view) {
@ -708,4 +708,4 @@ Ox.URL = function(options) {
return that; return that;
}; };