do not use urlencode() in forms

This commit is contained in:
Sebastian Mendel
2008-05-06 08:28:27 +00:00
parent 7c5d5c466a
commit e5458c0799
2 changed files with 1 additions and 2 deletions

View File

@@ -329,7 +329,7 @@ if (strstr($show_comment, '; InnoDB free') === false) {
<tr><td><?php echo $strTableComments; ?></td>
<td><input type="text" name="comment" maxlength="60" size="30"
value="<?php echo htmlspecialchars($comment); ?>" onfocus="this.select()" />
<input type="hidden" name="prev_comment" value="<?php echo urlencode($comment); ?>" />
<input type="hidden" name="prev_comment" value="<?php echo htmlspecialchars($comment); ?>" />
</td>
</tr>

View File

@@ -25,7 +25,6 @@
* @uses PMA_securePath()
* @uses PMA_sendHeaderLocation()
* @uses str_replace()
* @uses urlencode()
* @uses count()
* @uses file_exists()
* @uses strlen()