Skip to content
  • Michael Kozono's avatar
    Fix ensure_canonical_path for top level routes · 9f0909c0b9a8
    Michael Kozono authored
    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.
    9f0909c0b9a8