revert r2999 (no need to encode '%' if we can properly decode it)
This commit is contained in:
parent
51215c1cbe
commit
08256a078f
1 changed files with 1 additions and 1 deletions
|
@ -568,7 +568,7 @@ Ox.URL = function(options) {
|
|||
|
||||
function encodeValue(value) {
|
||||
// var chars = '/&|()=*:';
|
||||
var chars = '&|()=*%',
|
||||
var chars = '&|()=*',
|
||||
ret = '';
|
||||
value.toString().split('').forEach(function(char) {
|
||||
var index = chars.indexOf(char);
|
||||
|
|
Loading…
Reference in a new issue