aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-10-09 22:20:57 +0200
committerMarc Alexander <admin@m-a-styles.de>2018-10-09 22:20:57 +0200
commit407d179702804f1c82b3c8b8fbc5e3e7175c1d81 (patch)
tree742f1b084503178fd98320d8f3e57e50408b8a2c
parent6a6c1b0463c9a7efe6fb535413c55ae81dbffffd (diff)
parent4a3c00d1c84284c030e7a7a37efc3ada57228726 (diff)
downloadforums-407d179702804f1c82b3c8b8fbc5e3e7175c1d81.tar
forums-407d179702804f1c82b3c8b8fbc5e3e7175c1d81.tar.gz
forums-407d179702804f1c82b3c8b8fbc5e3e7175c1d81.tar.bz2
forums-407d179702804f1c82b3c8b8fbc5e3e7175c1d81.tar.xz
forums-407d179702804f1c82b3c8b8fbc5e3e7175c1d81.zip
Merge pull request #5170 from id-tarzanych/ticket/15600
[ticket/15600] Escaped ban reasons in JavaScript code of mcp_warn.html
-rw-r--r--phpBB/styles/prosilver/template/mcp_ban.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/styles/prosilver/template/mcp_ban.html b/phpBB/styles/prosilver/template/mcp_ban.html
index f6e4620ad8..d953f1039f 100644
--- a/phpBB/styles/prosilver/template/mcp_ban.html
+++ b/phpBB/styles/prosilver/template/mcp_ban.html
@@ -11,10 +11,10 @@
<!-- BEGIN bans -->
ban_length['{bans.BAN_ID}'] = '{bans.A_LENGTH}';
<!-- IF bans.A_REASON -->
- ban_reason['{bans.BAN_ID}'] = '{bans.A_REASON}';
+ ban_reason['{bans.BAN_ID}'] = '{{ bans.A_REASON | e('js') }}';
<!-- ENDIF -->
<!-- IF bans.A_GIVE_REASON -->
- ban_give_reason['{bans.BAN_ID}'] = '{bans.A_GIVE_REASON}';
+ ban_give_reason['{bans.BAN_ID}'] = '{{ bans.A_GIVE_REASON | e('js') }}';
<!-- ENDIF -->
<!-- END bans -->