Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow only apostrophes in enums

Use possessive quantifier in enum to fit in backtrack limit
  • Loading branch information...
commit 7d601c07fcea27bab3a3f6bc0639c46ad2a5a7b9 1 parent 3da0f3b
@vrana authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  adminer/index.php
  2. +1 −1  readme.txt
View
2  adminer/index.php
@@ -8,7 +8,7 @@
include "./include/bootstrap.inc.php";
-$enum_length = '\'(?:\'\'|[^\'\\\\]|\\\\.)*\'|"(?:""|[^"\\\\]|\\\\.)*"';
+$enum_length = "'(?:''|[^'\\\\]|\\\\.)*+'";
$inout = array("IN", "OUT", "INOUT");
if (isset($_GET["select"]) && ($_POST["edit"] || $_POST["clone"]) && !$_POST["save"]) {
View
2  readme.txt
@@ -3,7 +3,7 @@ Adminer Editor - Data manipulation for end-users
http://www.adminer.org/
Supports: MySQL, PostgreSQL, SQLite, MS SQL, Oracle
-Requirements: PHP 4.3.2+ or PHP 5+
+Requirements: PHP 4.3.3+ or PHP 5+
Apache License, Version 2.0
adminer/index.php - Run development version of Adminer
Please sign in to comment.
Something went wrong with that request. Please try again.