colon is a valid dot-qmail filename character
This commit is contained in:
parent
6989ec1205
commit
8639db3468
1 changed files with 2 additions and 2 deletions
|
@ -253,7 +253,7 @@ sub convert_to_plaintext {
|
||||||
$dot_loc = _get_dotqmail_location($list_dir);
|
$dot_loc = _get_dotqmail_location($list_dir);
|
||||||
|
|
||||||
# untaint "dot_loc"
|
# untaint "dot_loc"
|
||||||
$dot_loc =~ m/^([\w\d\_\-\.\@ \/]+)$/;
|
$dot_loc =~ m/^([\w\d\_\-\.\@ \/\:]+)$/;
|
||||||
if (defined($1)) {
|
if (defined($1)) {
|
||||||
$dot_loc = $1;
|
$dot_loc = $1;
|
||||||
} else {
|
} else {
|
||||||
|
@ -626,7 +626,7 @@ sub _cleanup_dotqmail_files {
|
||||||
$dot_loc = _get_dotqmail_location($list_dir);
|
$dot_loc = _get_dotqmail_location($list_dir);
|
||||||
|
|
||||||
# untaint "dot_loc"
|
# untaint "dot_loc"
|
||||||
$dot_loc =~ m/^([\w\d\_\-\.\@ \/]+)$/;
|
$dot_loc =~ m/^([\w\d\_\-\.\@ \/\:]+)$/;
|
||||||
if (defined($1)) {
|
if (defined($1)) {
|
||||||
$dot_loc = $1;
|
$dot_loc = $1;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue