Sanitizing vault headers was removing hyphen chars. Fixed this
This commit is contained in:
parent
0db3044b93
commit
791384075e
2
vendors/shells/vault.php
vendored
2
vendors/shells/vault.php
vendored
|
|
@ -253,7 +253,7 @@ class VaultShell extends Shell {
|
|||
|
||||
$newEmail['Email']['udate'] = $unix_time;
|
||||
|
||||
$allowedChars = array('@', ';', ':', '.', '$', '%', '*','#','!',',','[', ']',' ','{','}','|', '(', ')');
|
||||
$allowedChars = array('@', ';', ':', '.', '$', '%', '*','#','!',',','[', ']',' ','{','}','|', '(', ')', '-');
|
||||
$newEmail['Email']['subject'] = Sanitize::paranoid($subjDecoded[0]->text, $allowedChars);
|
||||
$newEmail['Email']['filename'] = $email_filename;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue