patch #2715417 [interface] Fixed truncation of enum/set values containing parenthesis
This commit is contained in:
@@ -66,6 +66,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
||||
thanks to Pawel Smolinski - zipoking
|
||||
- patch #2709040 [doc] Wrong link in ChangeLog formatter,
|
||||
thanks to Petr Vorel - pevik
|
||||
- patch #2715417 [interface] Fixed truncation of enum/set values containing parenthesis
|
||||
thanks to Marco Moreno - mmoreno
|
||||
|
||||
3.1.3.1 (2009-03-24)
|
||||
- [security] HTTP Response Splitting and file inclusion vulnerabilities
|
||||
|
@@ -2559,7 +2559,7 @@ function PMA_printable_bit_value($value, $length) {
|
||||
function PMA_extractFieldSpec($fieldspec) {
|
||||
$first_bracket_pos = strpos($fieldspec, '(');
|
||||
if ($first_bracket_pos) {
|
||||
$spec_in_brackets = chop(substr($fieldspec, $first_bracket_pos + 1, (strpos($fieldspec, ')') - $first_bracket_pos - 1)));
|
||||
$spec_in_brackets = chop(substr($fieldspec, $first_bracket_pos + 1, (strrpos($fieldspec, ')') - $first_bracket_pos - 1)));
|
||||
// convert to lowercase just to be sure
|
||||
$type = strtolower(chop(substr($fieldspec, 0, $first_bracket_pos)));
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user