escape % in urls, fixes #1817
This commit is contained in:
parent
6d823bd7aa
commit
7576654e0d
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