You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web
wxiaoguang ce9dee5a1e
Introduce path Clean/Join helper functions (#23495)
Since #23493 has conflicts with latest commits, this PR is my proposal
for fixing #23371

Details are in the comments

And refactor the `modules/options` module, to make it always use
"filepath" to access local files.

Benefits:

* No need to do `util.CleanPath(strings.ReplaceAll(p, "\\", "/"))),
"/")` any more (not only one before)
* The function behaviors are clearly defined
2 years ago
..
admin
auth
events
explore
feed
healthcheck
misc
org
repo Introduce path Clean/Join helper functions (#23495) 2 years ago
shared
user
auth.go
auth_windows.go
base.go Introduce path Clean/Join helper functions (#23495) 2 years ago
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go
webfinger.go