fix #1836 (don't translate /* to /$)'
This commit is contained in:
parent
3c45a928c3
commit
0378c58d26
1 changed files with 4 additions and 1 deletions
|
@ -627,7 +627,10 @@ Ox.URL = function(options) {
|
|||
// missing operator or unknown key
|
||||
condition = {key: '*', value: str, operator: '='};
|
||||
}
|
||||
if (['=', '!='].indexOf(condition.operator) > -1) {
|
||||
if (
|
||||
['=', '!='].indexOf(condition.operator) > -1
|
||||
&& condition.value != '*'
|
||||
) {
|
||||
if (condition.value[0] == '*') {
|
||||
condition.value = condition.value.slice(1);
|
||||
condition.operator = condition.operator.replace('=', '$')
|
||||
|
|
Loading…
Reference in a new issue