htmlentities -> htmlspecialchars
This commit is contained in:
@@ -96,7 +96,7 @@
|
||||
<div class="ui action fluid input">
|
||||
<input type="text" name="keyword"
|
||||
value="<?php if (isset($_POST['keyword']))
|
||||
echo htmlentities($_POST['keyword'], ENT_QUOTES, "UTF-8") ?>"
|
||||
echo htmlspecialchars($_POST['keyword'], ENT_QUOTES, "UTF-8") ?>"
|
||||
placeholder="<?php echo $MSG_CONTEST_NAME ?>">
|
||||
<button type=submit class="ui button">
|
||||
<?php echo $MSG_SEARCH; ?>
|
||||
|
||||
Reference in New Issue
Block a user