Also treat some more mimetypes as text #20
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "add_further_mimetypes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -36,4 +47,3 @@
".asc",
".c",
".cabal",
".cfg",
OK for me, but this seems like a non-binary suffix
You're most certainly right. But I was thinking that if a .cfg is large enough to run into this function, it could also be a binary format and we better rely on mimetype detection.
In the database it's only https://gitea.opensuse.org/rpm/fluid-soundfont/src/branch/factory/fluidr3_gm.cfg and it's detected as text/plain - so we're good either way.