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 @@
- +
URI// {% trans %}(must be all lowercase or numbers and < 10 chars){% endtrans %}
URI// {% trans %}(must be all lowercase or numbers and < 30 chars){% endtrans %}
Title {% trans %}(must be < 40 chars){% endtrans %}
Subtitle {% trans %}(must be < 200 chars){% endtrans %}
{% trans %}Username{% endtrans %} {% trans %}(must contain only alphanumeric, periods and underscores){% endtrans %}