Skip to content

Commit

Permalink
Escape error message in abort
Browse files Browse the repository at this point in the history
  • Loading branch information
cpeel committed Feb 9, 2022
1 parent 9c25e09 commit acd3fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pinc/abort.inc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function abort($error_message)

echo "<hr>\n";

echo "<p class='error'>$error_message</p>\n";
echo "<p class='error'>" . html_safe($error_message) . "</p>\n";
echo "<pre>\n";
dump_request_info();

Expand Down

0 comments on commit acd3fdf

Please sign in to comment.