Ox.URL: encode '?' in item ids
This commit is contained in:
parent
b43208de28
commit
4ab7a24075
1 changed files with 1 additions and 1 deletions
|
@ -580,7 +580,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);
|
||||||
|
|
Loading…
Reference in a new issue