From 791384075ea31ada1a3274ce189d07a1cd6ac848 Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Mon, 5 Sep 2011 16:33:15 +1000 Subject: [PATCH] Sanitizing vault headers was removing hyphen chars. Fixed this --- vendors/shells/vault.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendors/shells/vault.php b/vendors/shells/vault.php index 9c4fa26c..7e75537e 100755 --- a/vendors/shells/vault.php +++ b/vendors/shells/vault.php @@ -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;