Skip to content

Commit

Permalink
Fix to escape mail folder name [build]
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Aug 9, 2023
1 parent cb8f95e commit e6462c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/mail/mail-lib.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e6462c7

Please sign in to comment.