Fix XSS in indexes (non-MySQL only)
This commit is contained in:
parent
6c6bb45d3d
commit
4be0b6655e
|
@ -117,7 +117,7 @@ foreach ($row["indexes"] as $index) {
|
||||||
$i = 1;
|
$i = 1;
|
||||||
foreach ($index["columns"] as $key => $column) {
|
foreach ($index["columns"] as $key => $column) {
|
||||||
echo "<span>" . select_input(
|
echo "<span>" . select_input(
|
||||||
" name='indexes[$j][columns][$i]' onchange=\"" . ($i == count($index["columns"]) ? "indexesAddColumn" : "indexesChangeColumn") . "(this, '" . js_escape($jush == "sql" ? "" : $_GET["indexes"] . "_") . "');\"",
|
" name='indexes[$j][columns][$i]' onchange=\"" . ($i == count($index["columns"]) ? "indexesAddColumn" : "indexesChangeColumn") . "(this, '" . h(js_escape($jush == "sql" ? "" : $_GET["indexes"] . "_")) . "');\"",
|
||||||
($fields ? array_combine($fields, $fields) : $fields),
|
($fields ? array_combine($fields, $fields) : $fields),
|
||||||
$column
|
$column
|
||||||
);
|
);
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
Adminer 4.2.3-dev:
|
Adminer 4.2.3-dev:
|
||||||
|
Fix XSS in indexes (non-MySQL only)
|
||||||
Support PHP 7
|
Support PHP 7
|
||||||
Greek translation
|
Greek translation
|
||||||
Galician translation
|
Galician translation
|
||||||
|
|
Loading…
Reference in a new issue