0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-21 02:43:58 +01:00
gitea/services/context
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
..
upload Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
access_log.go
api_org.go
api_test.go
api.go
base_form.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
base_path.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
base_test.go
base.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
captcha.go
context_cookie.go
context_model.go
context_request.go
context_response.go
context_template.go
context_test.go
context.go
csrf.go
org.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
package.go
pagination.go Add label/author/assignee filters to the user/org home issue list (#32779) 2024-12-11 06:33:24 +00:00
permission.go
private.go
repo.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
response.go
user.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
utils.go
xsrf_test.go
xsrf.go