htmlentities -> htmlspecialchars
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
<?php echo $MSG_NICK; ?>
|
||||
</label>
|
||||
<input name="nick" placeholder="请<?php echo $MSG_Input; ?><?php echo $MSG_NICK; ?>"
|
||||
type="text" value="<?php echo htmlentities($row['nick'], ENT_QUOTES, "UTF-8") ?>">
|
||||
type="text" value="<?php echo htmlspecialchars($row['nick'], ENT_QUOTES, "UTF-8") ?>">
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="ui header">
|
||||
@@ -67,7 +67,7 @@
|
||||
<div class="field">
|
||||
<label for="username">个性签名</label>
|
||||
<input name="school" placeholder="请<?php echo $MSG_Input; ?>个性签名" type="text"
|
||||
value="<?php echo htmlentities($row['school'], ENT_QUOTES, "UTF-8") ?>">
|
||||
value="<?php echo htmlspecialchars($row['school'], ENT_QUOTES, "UTF-8") ?>">
|
||||
</div>
|
||||
<div class="field">
|
||||
<label for="email">
|
||||
@@ -75,7 +75,7 @@
|
||||
<?php echo $MSG_EMAIL; ?>
|
||||
</label>
|
||||
<input name="email" placeholder="请<?php echo $MSG_Input; ?><?php echo $MSG_EMAIL; ?>"
|
||||
type="text" value="<?php echo htmlentities($row['email'], ENT_QUOTES, "UTF-8") ?>">
|
||||
type="text" value="<?php echo htmlspecialchars($row['email'], ENT_QUOTES, "UTF-8") ?>">
|
||||
</div>
|
||||
<?php if ($OJ_VCODE) { ?>
|
||||
<div class="field">
|
||||
|
||||
Reference in New Issue
Block a user