escape % in urls, fixes #1817

This commit is contained in:
j 2013-08-14 18:31:50 +00:00
parent 6d823bd7aa
commit 7576654e0d

View file

@ -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);