Commit cffa99f0 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 458189: Quicksearches starting with +DUP return no results - Patch by…

Bug 458189: Quicksearches starting with +DUP return no results - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=wurblzap r=wicked a=LpSolit
parent d06524a0
......@@ -446,12 +446,14 @@ sub splitString {
# Now split on unescaped whitespace
@parts = split(/\s+/, $string);
foreach (@parts) {
# Protect plus signs from becoming a blank.
# If "+" appears as the first character, leave it alone
# as it has a special meaning. Strings which start with
# "+" must be quoted.
s/(?<!^)\+/%2B/g;
# Remove quotes
s/"//g;
# Protect plus signs from becoming a blank
s/\+/%2B/g;
}
return @parts;
}
......
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