mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
fixes potential XSS issue with TOTP exception lists (which need escaping, see also #1185). refactors Template escaping to use TemplateEscape enum (rather than the previous boolean). thanks @TrapoSAMA
9 lines
137 B
PHP
9 lines
137 B
PHP
<?php
|
|
|
|
/** Output escaping modes accepted by PFASmarty. */
|
|
enum TemplateEscape: string
|
|
{
|
|
case HTML = 'html';
|
|
case RAW = 'raw';
|
|
}
|