From e6462c784c08c0b4370955521d89e903317213c6 Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Wed, 9 Aug 2023 19:11:19 +0300 Subject: [PATCH] Fix to escape mail folder name [build] --- extensions/mail/mail-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/mail/mail-lib.pl b/extensions/mail/mail-lib.pl index 4ac54af50..0a2e51631 100644 --- a/extensions/mail/mail-lib.pl +++ b/extensions/mail/mail-lib.pl @@ -140,7 +140,7 @@ sub folders_select $offset++; } else { utf8::decode($f->{'name'}); utf8::encode($f->{'name'}); - push(@opts, [$id, $f->{'name'}]); + push(@opts, [$id, html_escape($f->{'name'})]); } } return ui_select(undef, undef, \@opts);