mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-01-30 00:57:15 +00:00
Merge pull request #4769 from ro78/patch-1
Update base.twig to escape simple quote
This commit is contained in:
@@ -172,7 +172,7 @@ function recursiveBase64StrToArrayBuffer(obj) {
|
||||
// TFA, CSRF, Alerts in footer.inc.php
|
||||
// Other general functions in mailcow.js
|
||||
{% for alert_type, alert_msg in alerts %}
|
||||
mailcow_alert_box('{{ alert_msg|raw }}', '{{ alert_type }}');
|
||||
mailcow_alert_box('{{ alert_msg|raw|e("js") }}', '{{ alert_type }}');
|
||||
{% endfor %}
|
||||
|
||||
// Confirm TFA modal
|
||||
|
||||
Reference in New Issue
Block a user