forked from leftypol/leftypol
Facilitate creation and usage of boards with "." and "+" characters in name.
This commit is mostly work in progress, will be rewritten.
This commit is contained in:
parent
e448bcb69c
commit
f6e9dbed13
3 changed files with 15 additions and 15 deletions
|
@ -236,8 +236,8 @@ function mod_new_board() {
|
|||
if ($_POST['title'] == '')
|
||||
error(sprintf($config['error']['required'], 'title'));
|
||||
|
||||
if (!preg_match('/^\w+$/', $_POST['uri']))
|
||||
error(sprintf($config['error']['invalidfield'], 'URI'));
|
||||
#if (!preg_match('/^\w+$/', $_POST['uri']))
|
||||
# error(sprintf($config['error']['invalidfield'], 'URI'));
|
||||
|
||||
if (openBoard($_POST['uri'])) {
|
||||
error(sprintf($config['error']['boardexists'], $board['url']));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue