summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Lang <mail@adrianlang.de>2009-03-13 22:06:02 +0100
committerEvan Prodromou <evan@controlyourself.ca>2009-03-14 02:37:53 -0400
commit221c61a49939dac779f68e4584dd9655b3e7201e (patch)
tree769f7387b075e8a3c8d73cc98647b0a4940502db
parent0b436ec99747d9f8bc5962798993d166a42123a9 (diff)
Fix typo in the the newmessage route.
-rw-r--r--lib/router.php2
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]+'));