htmlentities -> htmlspecialchars
This commit is contained in:
@@ -90,7 +90,7 @@ if (!(isset($_SESSION[$OJ_NAME . '_' . 'administrator']) || isset($_SESSION[$OJ_
|
||||
<p align=left>
|
||||
<?php echo "<h4>" . $MSG_SOURCE . " 用空格分隔" . "</h4>" ?>
|
||||
<textarea name=source style="width:100%;"
|
||||
rows=1><?php echo htmlentities($source, ENT_QUOTES, 'UTF-8') ?></textarea><br><br>
|
||||
rows=1><?php echo htmlspecialchars($source, ENT_QUOTES, 'UTF-8') ?></textarea><br><br>
|
||||
</p>
|
||||
<p align=left><?php echo "<h4>" . $MSG_CONTEST . "</h4>" ?>
|
||||
<select name=contest_id>
|
||||
|
||||
Reference in New Issue
Block a user