_do_ encode '%' in values (to allow searching for the literal string '%5F')
This commit is contained in:
parent
5afbd57823
commit
b0280295d2
1 changed files with 1 additions and 1 deletions
|
@ -568,7 +568,7 @@ Ox.URL = function(options) {
|
||||||
|
|
||||||
function encodeValue(value) {
|
function encodeValue(value) {
|
||||||
// var chars = '/&|()=*:';
|
// var chars = '/&|()=*:';
|
||||||
var chars = '&|()=*',
|
var chars = '&|()=*%',
|
||||||
ret = '';
|
ret = '';
|
||||||
value.toString().split('').forEach(function(char) {
|
value.toString().split('').forEach(function(char) {
|
||||||
var index = chars.indexOf(char);
|
var index = chars.indexOf(char);
|
||||||
|
|
Loading…
Reference in a new issue