From aa40e803e2e34520ed9002355eee189ad48599ca Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sun, 8 Nov 2015 12:15:45 -0800 Subject: [PATCH] Add escaping (not fixing any XSS) --- adminer/include/connect.inc.php | 2 +- adminer/include/editing.inc.php | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/adminer/include/connect.inc.php b/adminer/include/connect.inc.php index 0f3a0cdd..c46e3e8a 100644 --- a/adminer/include/connect.inc.php +++ b/adminer/include/connect.inc.php @@ -35,7 +35,7 @@ function connect_error() { . "" . lang('Database') . " - " . lang('Refresh') . "" . "" . lang('Collation') . "" . lang('Tables') - . "" . lang('Size') . " - " . lang('Compute') . "" + . "" . lang('Size') . " - " . lang('Compute') . "" . "\n" ; diff --git a/adminer/include/editing.inc.php b/adminer/include/editing.inc.php index 3a347a87..230b3960 100644 --- a/adminer/include/editing.inc.php +++ b/adminer/include/editing.inc.php @@ -141,7 +141,7 @@ function edit_type($key, $field, $collations, $foreign_keys = array()) { global $structured_types, $types, $unsigned, $on_actions; $type = $field["type"]; ?> -> -" size="3" onfocus="editingLengthFocus(this);" onchange="editingLengthChange(this);" onkeyup="this.onchange();">