In Ox.URL, urldecode '<' and '>'
This commit is contained in:
parent
c11a0b82b9
commit
7aafed8d25
1 changed files with 1 additions and 0 deletions
|
@ -554,6 +554,7 @@ Ox.URL = function(options) {
|
||||||
var condition = {},
|
var condition = {},
|
||||||
operators = ['!==', '==', '!=', '=', '!<', '<', '!>', '>'],
|
operators = ['!==', '==', '!=', '=', '!<', '<', '!>', '>'],
|
||||||
split;
|
split;
|
||||||
|
str = str.replace(/%3C/g, '<').replace(/%3E/g, '>');
|
||||||
Ox.forEach(operators, function(operator) {
|
Ox.forEach(operators, function(operator) {
|
||||||
if (str.indexOf(operator) > -1) {
|
if (str.indexOf(operator) > -1) {
|
||||||
split = str.split(operator);
|
split = str.split(operator);
|
||||||
|
|
Loading…
Reference in a new issue