Commit a8b0aeae authored by Tristan Cavelier's avatar Tristan Cavelier

BACKSLASH fix not_string.replace in sanitzeQueryValue

parent 385bd0b1
...@@ -682,8 +682,11 @@ ...@@ -682,8 +682,11 @@
}; };
function sanitizeQueryValue(value) { function sanitizeQueryValue(value) {
if (typeof value === "string") {
return value.replace(/((?:\\\\)*)\\$/, "$1"); return value.replace(/((?:\\\\)*)\\$/, "$1");
} }
return value;
}
function objectToSearchText(query) { function objectToSearchText(query) {
var i = 0, var i = 0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment