From bc554ea9c233943e7b1077d724aa8070fdb7b0f9 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sat, 1 Mar 2014 12:01:21 +0100 Subject: [PATCH] Bad route config (thanks brw12) ben wheeler submitted this bug report with a patch for StatusNet. --- lib/router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/router.php b/lib/router.php index 23ebe00d6b..71bf4e8e82 100644 --- a/lib/router.php +++ b/lib/router.php @@ -712,11 +712,11 @@ class Router $m->connect('api/statusnet/groups/join/:id.:format', array('action' => 'ApiGroupJoin', + 'id' => Nickname::INPUT_FMT, 'format' => '(xml|json)')); $m->connect('api/statusnet/groups/join.:format', array('action' => 'ApiGroupJoin', - 'id' => Nickname::INPUT_FMT, 'format' => '(xml|json)')); $m->connect('api/statusnet/groups/leave/:id.:format', -- 2.39.5