Mailbox update

This commit is contained in:
Torsten Schulz
2023-06-16 14:04:30 +02:00
parent d28ccad18f
commit 1f0a6b95a7

View File

@@ -7,7 +7,7 @@ class Emailinbox extends Renderer {
public function __construct(?string $templateName = null) { public function __construct(?string $templateName = null) {
parent::__construct(); parent::__construct();
$folder = filter_input(INPUT_GET, 'folder') ?? 'INBOX'; $folder = urldecode(filter_input(INPUT_GET, 'folder')) ?? 'INBOX';
if (!$this->connectToImap($folder)) { if (!$this->connectToImap($folder)) {
$this->templateName = 'imaperror'; $this->templateName = 'imaperror';
} }