Skip to content

Commit

Permalink
[TwigBundle] fixed XSS in the exception template
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jul 22, 2011
1 parent 6419456 commit 5d9bd6d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -12,7 +12,7 @@
</div>

<h1>
{{ exception.message|replace({"\n": '<br />'})|format_file_from_text }}
{{ exception.message|e|replace({"\n": '<br />'})|format_file_from_text }}
</h1>

<div>
Expand Down

0 comments on commit 5d9bd6d

Please sign in to comment.