forked from 0x2620/pandora
quote %
This commit is contained in:
parent
77952b7e78
commit
23bc662211
1 changed files with 2 additions and 1 deletions
|
@ -1052,7 +1052,8 @@ pandora.escapeQueryValue = function(value) {
|
||||||
if (!Ox.isString(value)) {
|
if (!Ox.isString(value)) {
|
||||||
value = value.toString();
|
value = value.toString();
|
||||||
}
|
}
|
||||||
return value.replace(/_/g, '%09')
|
return value.replace(/%/, '%25')
|
||||||
|
.replace(/_/g, '%09')
|
||||||
.replace(/\s/g, '_')
|
.replace(/\s/g, '_')
|
||||||
.replace(/</g, '%0E')
|
.replace(/</g, '%0E')
|
||||||
.replace(/>/g, '%0F');
|
.replace(/>/g, '%0F');
|
||||||
|
|
Loading…
Reference in a new issue