]> source.dussan.org Git - gitea.git/commit
Add `.patch` to `attachment.ALLOWED_TYPES` (#23580) (#23582)
authorGiteabot <teabot@gitea.io>
Sun, 19 Mar 2023 20:48:44 +0000 (16:48 -0400)
committerGitHub <noreply@github.com>
Sun, 19 Mar 2023 20:48:44 +0000 (16:48 -0400)
commit4730ed18f1e28c07d9fdf5c50d99b5a8197c4fdd
tree0ddf6184b1a280a811111d4305e04f345a076df0
parent937996c74c3d78a2164817ad7b23378c563d669a
Add `.patch` to `attachment.ALLOWED_TYPES` (#23580) (#23582)

Backport #23580 by @silverwind

Updated this default to GitHub's latest, adding the `.patch` file
extension to allowed types.

Co-authored-by: silverwind <me@silverwind.io>
custom/conf/app.example.ini
docs/content/doc/advanced/config-cheat-sheet.en-us.md
modules/setting/attachment.go