Fix XSS in alter table (found by HP Fortify)

This commit is contained in:
Jakub Vrana 2015-08-05 18:12:36 -07:00
parent ea0c9d9b5e
commit 596f8df373
3 changed files with 5 additions and 1 deletions

View file

@ -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>&nbsp;<?php } ?>

View file

@ -1,2 +1,2 @@
<?php
$VERSION = "4.2.1";
$VERSION = "4.2.2";

View file

@ -1,3 +1,6 @@
Adminer 4.2.2 (released ):
Fix XSS in alter table (found by HP Fortify)
Adminer 4.2.1 (released 2015-03-10):
Send referrer header to the same domain
MySQL: Fix usage of utf8mb4 if the client library doesn't support it