In Ox.URL, urldecode '<' and '>'

This commit is contained in:
rolux 2013-02-18 16:26:20 +05:30
parent c11a0b82b9
commit 7aafed8d25

View file

@ -554,6 +554,7 @@ Ox.URL = function(options) {
var condition = {},
operators = ['!==', '==', '!=', '=', '!<', '<', '!>', '>'],
split;
str = str.replace(/%3C/g, '<').replace(/%3E/g, '>');
Ox.forEach(operators, function(operator) {
if (str.indexOf(operator) > -1) {
split = str.split(operator);