Ox.URL: encode '?' in query too
This commit is contained in:
parent
4ab7a24075
commit
36bb548879
1 changed files with 1 additions and 1 deletions
|
@ -580,7 +580,7 @@ Ox.URL = function(options) {
|
|||
}
|
||||
|
||||
function encodeValue(value, isItem) {
|
||||
var chars = isItem ? '/?#%' : '*=&|()#%',
|
||||
var chars = isItem ? '/?#%' : '*=&|()?#%',
|
||||
ret = '';
|
||||
value.toString().split('').forEach(function(char) {
|
||||
var index = chars.indexOf(char);
|
||||
|
|
Loading…
Reference in a new issue