From f6e9dbed1333f6761de0e748a6a41b6b365158dc Mon Sep 17 00:00:00 2001 From: Marcin Ɓabanowski Date: Wed, 9 Jan 2013 08:33:40 +0100 Subject: Facilitate creation and usage of boards with "." and "+" characters in name. This commit is mostly work in progress, will be rewritten. --- inc/mod/pages.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/mod/pages.php') diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 4f1ab73c..8666f04c 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -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'])); -- cgit v1.3