Unverified Commit f6a9b30b authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #1365 from ikedas/issue-1364 by ikedas

WWSympa: File paths of archived messages may be exposed in the result of arcsearch (#1364)
parents d59dd1e9 0f7640f0
......@@ -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