Skip to content

Commit

Permalink
Merge pull request #1026 from x3rz/ping-ip-xss-fix
Browse files Browse the repository at this point in the history
Ping IP XSS fix
  • Loading branch information
ghormann committed Jul 2, 2021
2 parents 24adba4 + bf96b43 commit 3057841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/ping.php
Expand Up @@ -25,7 +25,7 @@
</title>
</head>
<body>
<h2>Ping <? echo $ip; ?></h2>
<h2>Ping <? echo htmlspecialchars($ip); ?></h2>
<pre>
==========================================================================
<?php
Expand Down

0 comments on commit 3057841

Please sign in to comment.