Commit 5b0be259 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 553884: Quicksearch incorrectly treats "-" in quotes as negation

r/a=mkanat
parent 984348db
......@@ -517,6 +517,9 @@ sub splitString {
# as it has a special meaning. Strings which start with
# "+" must be quoted.
s/(?<!^)\+/%2B/g;
# Also protect the minus sign from being considered
# as negation, in quotes.
s/(?<!^)\-/%2D/g;
# Remove quotes
s/"//g;
}
......
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