Skip to content

Commit

Permalink
Fixes Issue #175
Browse files Browse the repository at this point in the history
Encode HTML entities to prevent some XSS exploits.
  • Loading branch information
mherger committed Nov 14, 2017
1 parent f4f567c commit cf09b99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion HTML/EN/html/errors/403.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<HTML><HEAD><TITLE>403 Forbidden</TITLE></HEAD>
<BODY>403 Forbidden: [% path %]
<BODY>403 Forbidden: [% path | html_entity %]
[% validURL %]
</BODY></HTML>
2 changes: 1 addition & 1 deletion HTML/EN/html/errors/404.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD>
<BODY>404 Not Found: [% path %]
<BODY>404 Not Found: [% path | html_entity %]
[% IF suggestion %]<p>[% suggestion | html %]</p>[% END %]
</BODY></HTML>

0 comments on commit cf09b99

Please sign in to comment.