Add minimal XSS protection to appended string
ChangeLog entry
This commit is contained in:
parent
eb37c8716d
commit
7983308e8a
@ -14,6 +14,7 @@ phpMyAdmin - ChangeLog
|
||||
+ Patch #3506552 Contest-2: Show index information in the data dictionary
|
||||
+ Patch #3510656 Contest-1: Ignoring foreign keys while dropping tables
|
||||
- Bug #3509686 Reverting sort on joined column does not work
|
||||
+ New transformation: append string
|
||||
|
||||
3.5.1.0 (not yet released)
|
||||
- bug #3510784 [edit] Limit clause ignored when sort order is remembered
|
||||
|
||||
@ -17,7 +17,7 @@ function PMA_transformation_text_plain__append($buffer, $options = array(), $met
|
||||
$options[0] = '';
|
||||
}
|
||||
|
||||
$newtext = $buffer . $options[0]; //just append the option to the original text
|
||||
$newtext = $buffer . htmlspecialchars($options[0]); //just append the option to the original text
|
||||
|
||||
return $newtext;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user