]> source.dussan.org Git - gitea.git/commit
Refactor "route" related code, fix Safari cookie bug (#24330)
authorwxiaoguang <wxiaoguang@gmail.com>
Thu, 27 Apr 2023 06:06:45 +0000 (14:06 +0800)
committerGitHub <noreply@github.com>
Thu, 27 Apr 2023 06:06:45 +0000 (02:06 -0400)
commit92fd3fc4fd369b6a8c0a022a32a80dec2340223a
treec721a4988b5ec250a029b19274ef1c2dc4c19faa
parent1c875ef5bef206b8214c33437f65af929967df46
Refactor "route" related code, fix Safari cookie bug (#24330)

Fix #24176

Clean some misuses of route package, clean some legacy FIXMEs

---------

Co-authored-by: Giteabot <teabot@gitea.io>
14 files changed:
modules/context/api.go
modules/context/context.go
modules/context/context_test.go [new file with mode: 0644]
modules/web/handler.go
modules/web/route.go
routers/common/middleware.go
routers/init.go
routers/install/routes.go
routers/install/routes_test.go
routers/web/base.go
routers/web/misc/misc.go [new file with mode: 0644]
routers/web/repo/repo.go
routers/web/user/home.go
routers/web/web.go