do not use urlencode() in forms
This commit is contained in:
@@ -329,7 +329,7 @@ if (strstr($show_comment, '; InnoDB free') === false) {
|
|||||||
<tr><td><?php echo $strTableComments; ?></td>
|
<tr><td><?php echo $strTableComments; ?></td>
|
||||||
<td><input type="text" name="comment" maxlength="60" size="30"
|
<td><input type="text" name="comment" maxlength="60" size="30"
|
||||||
value="<?php echo htmlspecialchars($comment); ?>" onfocus="this.select()" />
|
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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
@@ -25,7 +25,6 @@
|
|||||||
* @uses PMA_securePath()
|
* @uses PMA_securePath()
|
||||||
* @uses PMA_sendHeaderLocation()
|
* @uses PMA_sendHeaderLocation()
|
||||||
* @uses str_replace()
|
* @uses str_replace()
|
||||||
* @uses urlencode()
|
|
||||||
* @uses count()
|
* @uses count()
|
||||||
* @uses file_exists()
|
* @uses file_exists()
|
||||||
* @uses strlen()
|
* @uses strlen()
|
||||||
|
Reference in New Issue
Block a user