cosmetic changes

This commit is contained in:
rlx 2013-08-26 17:15:56 +00:00
parent 9c0cc7fb40
commit 4c390cc236

View file

@ -567,7 +567,7 @@ Ox.URL = function(options) {
} }
function encodeValue(value, isItem) { function encodeValue(value, isItem) {
var chars = isItem ? '/#%' : '=*&|()#%', var chars = isItem ? '/#%' : '*=&|()#%',
ret = ''; ret = '';
value.toString().split('').forEach(function(char) { value.toString().split('').forEach(function(char) {
var index = chars.indexOf(char); var index = chars.indexOf(char);