1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-05 07:24:25 +00:00
gitea/routers
wxiaoguang 2a828e2798
Clarify path param naming (#32969)
In history (from some legacy frameworks), both `:name` and `name` are
supported as path path name, `:name` is an alias to `name`.

To make code consistent, now we should only use `name` but not `:name`.

Also added panic check in related functions to make sure the name won't
be abused in case some downstreams still use them.
2024-12-24 13:47:45 +00:00
..
api Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
common Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
install Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
private Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
utils Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
web Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
init.go Add sub issue list support (#32940) 2024-12-24 01:54:19 +00:00