diff --git a/create.php b/create.php index e45c395a..66ab1b78 100644 --- a/create.php +++ b/create.php @@ -62,7 +62,7 @@ if (!$score) error(_('You failed the game')); if (!$passedCaptcha) error(_('You failed to enter the reCaptcha correctly')); -if (!preg_match('/^[a-z0-9]{1,10}$/', $uri)) +if (!preg_match('/^[a-z0-9]{1,30}$/', $uri)) error(_('Invalid URI')); if (!(strlen($title) < 40)) error(_('Invalid title')); diff --git a/templates/8chan/create.html b/templates/8chan/create.html index 668d165a..f99fa727 100644 --- a/templates/8chan/create.html +++ b/templates/8chan/create.html @@ -1,7 +1,7 @@