Skip to content

Commit fd12167

Browse files
authored
added htmlspecialchars() to the ouput
1 parent fea35bc commit fd12167

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<h2> Output </h2>
5252
</div>
5353
<pre>
54-
<?= $cmd ?>
54+
<?= htmlspecialchars($cmd, ENT_QUOTES, 'UTF-8') ?>
5555
</pre>
5656
<?php endif; ?>
5757

0 commit comments

Comments
 (0)