summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-10-31 12:16:30 -0400
committerEvan Prodromou <evan@status.net>2009-10-31 12:16:30 -0400
commit5e27d53947ff64c8aee1b2287e1c77bbeaea51f7 (patch)
treebaf10735ebc98827820844e8ec9d616061ab645b /lib/router.php
parent65a3ccd4587193bba72501837fab097e041f96d3 (diff)
parentdcca9fbec0cea9c5e15c4d58a8e9870514dfdbdd (diff)
Merge branch '0.8.x' into testing
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index 5529e60ac..7455d9cf8 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -171,6 +171,10 @@ class Router
array('action' => 'attachment_thumbnail'),
array('attachment' => '[0-9]+'));
+ $m->connect('getfile/:filename',
+ array('action' => 'getfile'),
+ array('filename' => '[A-Za-z0-9._-]+'));
+
$m->connect('notice/new', array('action' => 'newnotice'));
$m->connect('notice/new?replyto=:replyto',
array('action' => 'newnotice'),