gitlab-org--gitlab-foss/app
Michael Kozono f9785dcec3 Fix ensure_canonical_path for top level routes
Don’t replace a substring of the path if it is part of the top level route.

E.g. When redirecting from `/groups/ups` to `/groups/foo`, be careful not to do `/grofoo/ups`.

Projects are unaffected by this issue, but I am grouping the `#ensure_canonical_path` tests similar to the group and user tests.
2017-05-18 16:24:10 -07:00
..
assets Merge branch 'fix-trailing-space-mr-widget' into 'master' 2017-05-18 16:18:09 +00:00
controllers Fix ensure_canonical_path for top level routes 2017-05-18 16:24:10 -07:00
finders Create a Users Finder 2017-05-15 13:53:12 +00:00
helpers Merge branch 'dm-consistent-commit-widget' into 'master' 2017-05-17 17:42:06 +00:00
mailers Backport of multiple_assignees_feature [ci skip] 2017-05-04 17:11:53 +03:00
models Merge branch 'mk-fix-issue-1843' into 'master' 2017-05-18 15:27:11 +00:00
policies Merge branch 'snippets-finder-visibility' into 'security' 2017-05-10 16:48:18 +02:00
presenters Fix conflict resolution from corrupted upstream 2017-05-12 20:47:51 +01:00
serializers Returns new_blob_path only when user can push_code to project 2017-05-16 15:11:55 +03:00
services Fix: Deleting an invited member causes 500 error 2017-05-18 16:26:39 +03:00
uploaders Support uploaders for personal snippets comments 2017-05-02 15:22:24 +02:00
validators Reject EE reserved namespace paths in CE as well 2017-05-04 18:11:31 +02:00
views Merge branch 'change-url-in-specific-runners-registration-steps' into 'master' 2017-05-18 15:52:37 +00:00
workers Do not schedule pipelines if the user can't 2017-05-15 10:01:29 +02:00