diff --git a/index.php b/index.php index fcbe41a..2884bc1 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,6 @@ [^\/]+)\/?(?[^\/]+)\/?$/'); +define('REQUEST_REGEX', '/^\/(?[^\/]+)\/?(?[^\/]+)?\/?$/'); define('SUPPLIER_REGEX', '/^[A-Za-z]\w{0,31}$/'); define('EVENT_REGEX', '/^\d{4}\-[01]\d\-[0123]\d$/'); define('ACTION_REGEX', '/^[a-z]{1,16}$/i');