mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-23 18:18:31 +08:00

Fixes #17655 If you rename `user1` to `user2` and visit `/user1` you get redirected to `/user2`. But if you visit `/user1/repo` you just get a 404 error. With this PR the user is redirected to `/user2/repo`.