gitea/services
Kemal Zebari 7adc4717ec
Include file extension checks in attachment API (#32151)
From testing, I found that issue posters and users with repository write
access are able to edit attachment names in a way that circumvents the
instance-level file extension restrictions using the edit attachment
APIs. This snapshot adds checks for these endpoints.
2024-11-06 21:34:32 +00:00
..
actions
agit
asymkey
attachment
auth
automerge
context
contexttest
convert
cron
doctor
externalaccount
feed
forms
gitdiff
indexer
issue
lfs
mailer
markup
migrations
mirror
notify
oauth2_provider
org
packages
projects
pull
release
repository
secrets
task
uinotification
user
webhook
webtheme
wiki