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. |
||
|---|---|---|
| .. | ||
| admin_routing_spec.rb | ||
| environments_spec.rb | ||
| group_routing_spec.rb | ||
| import_routing_spec.rb | ||
| notifications_routing_spec.rb | ||
| openid_connect_spec.rb | ||
| project_routing_spec.rb | ||
| routing_spec.rb | ||