backported bug #2879909 to QA_3_2
This commit is contained in:
@@ -15,6 +15,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
||||
- bug #2852370 [operations] Renaming database deletes triggers
|
||||
- bug #2872247 [interface] Failed opening required 'mysql_charsets.lib.php', thanks to CyberLeo Kitsana - cyberleo
|
||||
- bug [structure] "In use" table incorrectly reported as "view"
|
||||
- bug #2879909 [interface] Removed double htmlspecialchars when editing enum column
|
||||
|
||||
3.2.2.1 (2009-10-12)
|
||||
- [security] XSS and SQL injection, thanks to Herman van Rink
|
||||
|
@@ -349,13 +349,12 @@ for ($i = 0; $i < $num_fields; $i++) {
|
||||
$binary = 0;
|
||||
$unsigned = 0;
|
||||
$zerofill = 0;
|
||||
$length_to_display = htmlspecialchars($length);
|
||||
} else {
|
||||
$length_to_display = $length;
|
||||
$binary = false;
|
||||
$unsigned = stristr($row['Type'], 'unsigned');
|
||||
$zerofill = stristr($row['Type'], 'zerofill');
|
||||
}
|
||||
$length_to_display = $length;
|
||||
|
||||
$content_cells[$i][$ci] = '<input id="field_' . $i . '_' . ($ci - $ci_offset) . '"'
|
||||
. ' type="text" name="field_length[' . $i . ']" size="' . $length_values_input_size . '"'
|
||||
|
Reference in New Issue
Block a user