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.go Add Cache-Control header to html and api responses, add no-transform (#20432) 2022-07-23 14:38:03 +08:00
api_org.go
api_test.go
auth.go Respond with a 401 on git push when password isn't changed yet (#20026) 2022-06-19 20:23:00 +01:00
captcha.go
context.go Share HTML template renderers and create a watcher framework (#20218) 2022-08-28 10:43:25 +01:00
csrf.go
form.go
org.go Add user/organization code search (#19977) 2022-10-11 00:12:03 +01:00
package.go Respect `REQUIRE_SIGNIN_VIEW` for packages (#20873) 2022-09-21 21:01:18 +08:00
pagination.go
permission.go
private.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
repo.go Redirect to new repository owner (#21398) 2022-10-11 19:54:44 +08:00
response.go
utils.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
xsrf.go
xsrf_test.go