1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-03 14:57:55 -05:00
gitea/modules/context
KN4CK3R 8752d89be7
Redirect to new repository owner (#21398)
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`.
2022-10-11 19:54:44 +08:00
..
access_log.go
api_org.go
api_test.go
api.go
auth.go
captcha.go
context.go
csrf.go
form.go
org.go
package.go
pagination.go
permission.go
private.go
repo.go Redirect to new repository owner (#21398) 2022-10-11 19:54:44 +08:00
response.go
utils.go
xsrf_test.go
xsrf.go