1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 14:14:25 +00:00
gitea/routers
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
..
api Include file extension checks in attachment API (#32151) 2024-11-06 21:34:32 +00:00
common Fix milestone deadline and date related problems (#32339) 2024-11-05 07:46:40 +00:00
install Save initial signup information for users to aid in spam prevention (#31852) 2024-09-09 17:05:16 -04:00
private Fix git error handling (#32401) 2024-11-02 11:20:22 +00:00
utils Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
web Fix milestone deadline and date related problems (#32339) 2024-11-05 07:46:40 +00:00
init.go Make oauth2 code clear. Move oauth2 provider code to their own packages/files (#32148) 2024-10-02 08:03:19 +08:00