mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 23:27:17 +02:00
Allow only apostrophes in enums
Use possessive quantifier in enum to fit in backtrack limit
This commit is contained in:
@@ -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"]) {
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user