We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b9c3b2 commit e834297Copy full SHA for e834297
src/public/themes/default/contents/header.php
@@ -67,7 +67,7 @@
67
<div class="five wide column">
68
<form role="search" method="GET">
69
<div class="ui small fluid action input">
70
- <input type="text" name="s" placeholder="<?php echo (!empty($_GET['s']) ? $_GET['s'] : '[a-z\-_]+.php') ?>">
+ <input type="text" name="s" placeholder="<?php echo (!empty($_GET['s']) ? htmlentities($_GET['s']) : '[a-z\-_]+.php'); ?>">
71
<button type="submit" class="ui small button">Search</button>
72
</div>
73
</form>
0 commit comments