Commit 0f7640f0 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

WWSympa: File paths of archived messages may be exposed in the result of arcsearch (#1364)

parent f71f5ce9
......@@ -197,7 +197,7 @@ sub _find_match {
}
}
if ($match == 1) {
$file =~ s,$self->{'search_base'},$self->{'base_href'},;
$file =~ s,\Q$self->{'search_base'}\E,$self->{'base_href'},;
$res->{'file'} = $file;
$res->{'body_string'} = $body_string;
$res->{'id'} = $id;
......
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