1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-19 04:41:25 +02:00

Allow only apostrophes in enums

Use possessive quantifier in enum to fit in backtrack limit
This commit is contained in:
Jakub Vrana
2010-10-22 22:42:40 +02:00
parent 3da0f3be13
commit 7d601c07fc
2 changed files with 2 additions and 2 deletions

View File

@@ -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"]) {