Fix XSS in alter table (found by HP Fortify)
This commit is contained in:
parent
ea0c9d9b5e
commit
596f8df373
|
@ -234,6 +234,7 @@ function type_class($type) {
|
||||||
*/
|
*/
|
||||||
function edit_fields($fields, $collations, $type = "TABLE", $foreign_keys = array(), $comments = false) {
|
function edit_fields($fields, $collations, $type = "TABLE", $foreign_keys = array(), $comments = false) {
|
||||||
global $connection, $inout;
|
global $connection, $inout;
|
||||||
|
$fields = array_values($fields);
|
||||||
?>
|
?>
|
||||||
<thead><tr class="wrap">
|
<thead><tr class="wrap">
|
||||||
<?php if ($type == "PROCEDURE") { ?><td> <?php } ?>
|
<?php if ($type == "PROCEDURE") { ?><td> <?php } ?>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
<?php
|
<?php
|
||||||
$VERSION = "4.2.1";
|
$VERSION = "4.2.2";
|
||||||
|
|
|
@ -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):
|
Adminer 4.2.1 (released 2015-03-10):
|
||||||
Send referrer header to the same domain
|
Send referrer header to the same domain
|
||||||
MySQL: Fix usage of utf8mb4 if the client library doesn't support it
|
MySQL: Fix usage of utf8mb4 if the client library doesn't support it
|
||||||
|
|
Loading…
Reference in a new issue