Skip to content

Commit 048e35b

Browse files
committed
Escaped printed HTML.
1 parent f4274b7 commit 048e35b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnbanIpAddress.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
include APP_PATH_VIEWS . 'HomeTabs.php';
1414
?>
1515
<div class="red" style="margin-top:50px; margin-bottom:50px">
16-
<?php print $success; ?>
16+
<?php print htmlspecialchars($success, ENT_QUOTES); ?>
1717
</div>
1818
<?php
1919
$unban_ip = new \BCCHR\UnbanIp\UnbanIp();

0 commit comments

Comments
 (0)