Skip to content

Commit 5acaeec

Browse files
Internal: Strip HTML tags and decode entities in not allowed message - refs BT#22701
1 parent 0c4814b commit 5acaeec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CoreBundle/Resources/views/Exception/not_allowed_message.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<div class="flex items-center gap-4 rounded-2xl p-6 {{ style.bg }} {{ style.txt }}/80 shadow text-bold">
1313
<i class="{{ style.icon }} text-4xl {{ style.txt }}"></i>
1414
<p class="font-extrabold text-xl {{ style.txt }}">
15-
{{ message|trans }}
15+
{{ message|trans|striptags|raw }}
1616
</p>
1717
</div>
1818
</div>

0 commit comments

Comments
 (0)