diff options
-rw-r--r-- | lib/router.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/router.php b/lib/router.php index 50d5a4ee1..e39dc217a 100644 --- a/lib/router.php +++ b/lib/router.php @@ -156,7 +156,7 @@ class Router array('notice' => '[0-9]+')); $m->connect('message/new', array('action' => 'newmessage')); - $m->connect('message/new?to=:to', array('action' => 'newmessage'), array('to' => '[A-Za-z0-9_-]')); + $m->connect('message/new?to=:to', array('action' => 'newmessage'), array('to' => '[A-Za-z0-9_-]+')); $m->connect('message/:message', array('action' => 'showmessage'), array('message' => '[0-9]+')); |