colon is a valid dot-qmail filename character

This commit is contained in:
lars 2012-03-02 00:10:14 +00:00
parent 6989ec1205
commit 8639db3468
1 changed files with 2 additions and 2 deletions

View File

@ -253,7 +253,7 @@ sub convert_to_plaintext {
$dot_loc = _get_dotqmail_location($list_dir);
# untaint "dot_loc"
$dot_loc =~ m/^([\w\d\_\-\.\@ \/]+)$/;
$dot_loc =~ m/^([\w\d\_\-\.\@ \/\:]+)$/;
if (defined($1)) {
$dot_loc = $1;
} else {
@ -626,7 +626,7 @@ sub _cleanup_dotqmail_files {
$dot_loc = _get_dotqmail_location($list_dir);
# untaint "dot_loc"
$dot_loc =~ m/^([\w\d\_\-\.\@ \/]+)$/;
$dot_loc =~ m/^([\w\d\_\-\.\@ \/\:]+)$/;
if (defined($1)) {
$dot_loc = $1;
} else {