0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-14 01:05:42 +01:00
gitea/templates/swagger
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
..
ui.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
v1_json.tmpl Include file extension checks in attachment API (#32151) 2024-11-06 21:34:32 +00:00