Commit graph

5 commits

Author SHA1 Message Date
Sean McGivern
9f921b73f2 Don't add a trailing slash in group redirects
Because we ignored the format, a request to `/groups/foo/labels.json` would
redirect to `/groups/foo/-/labels/.json`. But really, it's worse than that,
because unless the request contained a trailing slash, we shouldn't add one.

Now, we only _keep_ a trailing slash, but don't _add_ one.
2017-11-16 17:13:40 +00:00
Bob Van Landuyt
2414c69ee9 Check redirecting with a querystring 2017-11-07 19:52:10 +01:00
Bob Van Landuyt
58d1d6a5c7 Free up some group reserved words 2017-11-07 19:52:09 +01:00
Bob Van Landuyt
5dde0536c3 Free up avatar, group_members and milestones as paths 2017-11-07 19:52:09 +01:00
Bob Van Landuyt
5d14337baf Free up labels as a group name 2017-11-07 19:52:09 +01:00