mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 01:24:17 +02:00
Fix XSS in alter table (found by HP Fortify)
This commit is contained in:
@@ -234,6 +234,7 @@ function type_class($type) {
|
||||
*/
|
||||
function edit_fields($fields, $collations, $type = "TABLE", $foreign_keys = array(), $comments = false) {
|
||||
global $connection, $inout;
|
||||
$fields = array_values($fields);
|
||||
?>
|
||||
<thead><tr class="wrap">
|
||||
<?php if ($type == "PROCEDURE") { ?><td> <?php } ?>
|
||||
|
Reference in New Issue
Block a user