Skip to content

Commit

Permalink
Bug: 14429 Escape mailbox before converting to utf7imap.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jul 29, 2016
1 parent f510cc3 commit 58f170c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ingo/lib/Script/Procmail/Recipe.php
Expand Up @@ -468,9 +468,9 @@ public function procmailPath($folder)
$folder = substr($folder, 6);
}

$mbox = new Horde_Imap_Client_Mailbox($folder);
$mbox = new Horde_Imap_Client_Mailbox(escapeshellcmd($folder));

return '".' . escapeshellcmd($mbox->utf7imap) . '/"';
return '".' . $mbox->utf7imap . '/"';
}
return str_replace(' ', '\ ', escapeshellcmd($folder));
}
Expand Down

0 comments on commit 58f170c

Please sign in to comment.