Commit c436b4ff authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Scenario: Fixing a bug injected by #782.

File names for search filters may not be quoted.
parent 55749349
......@@ -827,7 +827,11 @@ sub _compile_condition {
$str =~ s{(\\.|.)}{($1 eq "'" or $1 eq "\\")? "\\\'" : $1}eg;
$value = sprintf "'%s'", $str;
} else {
# Parse error.
# Texts with unknown format may be treated as the string constants
# for compatibility to loose parsing with earlier ver (<=6.2.48).
my $str = $value;
$str =~ s/([\\\'])/\\$1/g;
$value = sprintf "'%s'", $str;
}
push(@args, $value);
}
......
Supports Markdown
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