Commit 1a3ab0b9 authored by sympa-authors's avatar sympa-authors
Browse files

Fix: attachement were not accessible though web archives

Made the last arc_file parameter multiple (using the @ notation) and changed the associated regexp


git-svn-id: https://subversion.renater.fr/sympa/trunk@3784 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent db22093d
......@@ -315,7 +315,7 @@ my %action_args = ('default' => ['list'],
'resetbounce' => ['list','email'],
'review' => ['list','page','size','sortby'],
'reviewbouncing' => ['list','page','size'],
'arc' => ['list','month','arc_file'],
'arc' => ['list','month','@arc_file'],
'latest_arc' => ['list'],
'arc_manage' => ['list'],
'arcsearch_form' => ['list','archive_name'],
......@@ -464,7 +464,7 @@ my %in_regexp = (
## File names
'file' => '[^<>\*\$]+',
'template_path' => '[\w\-\.\/_]+',
'arc_file' => '[\w\-\.]+',
'arc_file' => '[^<>\\\*\$]+',
'path' => '[^<>\\\*\$]+',
'uploaded_file' => '[^<>\*\$]+', # Could be precised (use of "'")
'dir' => '[^<>\\\*\$]+',
......
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