Skip to content

Commit

Permalink
fix(@bazar/layout.field.twig): prevent XSS scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
J9rem committed Apr 8, 2022
1 parent 19952b4 commit 2e6f465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/bazar/templates/layouts/field.twig
Expand Up @@ -7,7 +7,7 @@
{% endblock %}
{% block value_container %}
<span class="BAZ_texte">
{% block value %}{{ value|raw }}{% endblock %}
{% block value %}{{ value|raw|e }}{% endblock %}
</span>
{% endblock %}
</div>

0 comments on commit 2e6f465

Please sign in to comment.