Skip to content

Commit 8213daf

Browse files
committed
htmlspecialchars
1 parent ac90edd commit 8213daf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/lib/UnityHTTPD.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ public static function gracefulDie(
7878
CONFIG["mail"]["support"],
7979
$errorid,
8080
);
81+
$user_message_title = htmlspecialchars($user_message_title);
82+
$user_message_body = htmlspecialchars($user_message_body);
8183
if (strlen($user_message_body) === 0) {
8284
$user_message_body = $suffix;
8385
} else {

0 commit comments

Comments
 (0)