uri decode map query value, fixes #432
This commit is contained in:
parent
ac25a69aaa
commit
d13d0e3d3f
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue