Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Comments

  • Loading branch information...
commit 1cd506ee1edc1c47b65a1e5a2bc78dcb445f0ca1 1 parent b835ce4
@vrana authored
Showing with 3 additions and 2 deletions.
  1. +1 −1  adminer/database.inc.php
  2. +2 −1  readme.txt
View
2  adminer/database.inc.php
@@ -28,7 +28,7 @@
if (!$_POST["collation"]) {
redirect(substr(ME, 0, -1));
}
- query_redirect("ALTER DATABASE " . idf_escape($_POST["name"]) . (eregi('^[a-z0-9_]+$', $_POST["collation"]) ? " COLLATE $_POST[collation]" : ""), substr(ME, 0, -1), lang('Database has been altered.')); //! SQL injection - quotes are not allowed in MS SQL 2005
+ query_redirect("ALTER DATABASE " . idf_escape($_POST["name"]) . (eregi('^[a-z0-9_]+$', $_POST["collation"]) ? " COLLATE $_POST[collation]" : ""), substr(ME, 0, -1), lang('Database has been altered.'));
}
}
View
3  readme.txt
@@ -1,5 +1,5 @@
Adminer - Database management in single PHP file
-Adminer Editor - Database editor in single PHP file
+Adminer Editor - Data manipulation for end-users
http://www.adminer.org/
Supports: MySQL, PostgreSQL, SQLite, MS SQL, Oracle
@@ -8,6 +8,7 @@ Apache License, Version 2.0
adminer/index.php - Run development version of Adminer
editor/index.php - Run development version of Adminer Editor
+editor/example.php - Example customization
compile.php [driver] [lang] - Create a single file version
lang.php [lang] - Update translations
tests/selenium.html - Selenium test suite
Please sign in to comment.
Something went wrong with that request. Please try again.