diff options
| author | Marcin Łabanowski <marcin@6irc.net> | 2013-01-09 08:33:40 +0100 |
|---|---|---|
| committer | Marcin Łabanowski <marcin@6irc.net> | 2013-01-09 08:33:40 +0100 |
| commit | f6e9dbed1333f6761de0e748a6a41b6b365158dc (patch) | |
| tree | 577d008a32ac5538c4cd48ebc7ceec4e9ae76077 /inc/mod/pages.php | |
| parent | e448bcb69c95ba9a9a13d32787d3e85c8a993e9a (diff) | |
Facilitate creation and usage of boards with "." and "+" characters in name.
This commit is mostly work in progress, will be rewritten.
Diffstat (limited to 'inc/mod/pages.php')
| -rw-r--r-- | inc/mod/pages.php | 4 |
1 files changed, 2 insertions, 2 deletions
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'])); |
