1
0
Fork 0
gitea/services
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
2023-03-21 16:02:49 -04:00
..
actions Fix missing commit status in PR which from forked repo (#23351) 2023-03-13 16:05:19 -05:00
agit add user rename endpoint to admin api (#22789) 2023-03-14 03:45:21 -04:00
asymkey
attachment
auth
automerge
context
convert Add absent repounits to create/edit repo API (#23500) 2023-03-16 12:30:42 -05:00
cron
externalaccount
forms
gitdiff
issue
lfs
mailer
markup
migrations Introduce path Clean/Join helper functions (#23495) 2023-03-21 16:02:49 -04:00
mirror
org
packages Introduce path Clean/Join helper functions (#23495) 2023-03-21 16:02:49 -04:00
pull Disable sending email after push a commit to a closed PR (#23462) 2023-03-15 14:42:21 +08:00
release
repository Introduce path Clean/Join helper functions (#23495) 2023-03-21 16:02:49 -04:00
task
user add user rename endpoint to admin api (#22789) 2023-03-14 03:45:21 -04:00
webhook
wiki