Permalink
Browse files

Escape server info

  • Loading branch information...
1 parent 8ea9005 commit a710c28d38a18da172b797955c5672ab00d47ac6 @vrana committed Mar 1, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 adminer/include/connect.inc.php
@@ -23,7 +23,7 @@ function connect_error() {
echo "<a href='" . h(ME) . "$key='>$val</a>\n";
}
}
- echo "<p>" . lang('%s version: %s through PHP extension %s', $drivers[DRIVER], "<b>$connection->server_info</b>", "<b>$connection->extension</b>") . "\n";
+ echo "<p>" . lang('%s version: %s through PHP extension %s', $drivers[DRIVER], "<b>" . h($connection->server_info) . "</b>", "<b>$connection->extension</b>") . "\n";
echo "<p>" . lang('Logged as: %s', "<b>" . h(logged_user()) . "</b>") . "\n";
$databases = $adminer->databases();
if ($databases) {

0 comments on commit a710c28

Please sign in to comment.