From: Mikael Nordfeldth Date: Sat, 1 Mar 2014 11:01:21 +0000 (+0100) Subject: Bad route config (thanks brw12) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bc554ea9c233943e7b1077d724aa8070fdb7b0f9;p=quix0rs-gnu-social.git Bad route config (thanks brw12) ben wheeler submitted this bug report with a patch for StatusNet. --- 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',