Skip to content

Commit acd3fdf

Browse files
committed
Escape error message in abort
1 parent 9c25e09 commit acd3fdf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pinc/abort.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function abort($error_message)
2020

2121
echo "<hr>\n";
2222

23-
echo "<p class='error'>$error_message</p>\n";
23+
echo "<p class='error'>" . html_safe($error_message) . "</p>\n";
2424
echo "<pre>\n";
2525
dump_request_info();
2626

0 commit comments

Comments
 (0)