1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 10:06:24 +00:00
forgejo/modules/typesniffer
wxiaoguang 7e3b7c2346
Do not recognize text files as audio ()
Close 

This PR uses a trick (removing the ID3 tag) to detect the content again
to to see whether the content is text type.

---------

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-03-07 22:40:41 -05:00
..
typesniffer.go Do not recognize text files as audio () 2023-03-07 22:40:41 -05:00
typesniffer_test.go Do not recognize text files as audio () 2023-03-07 22:40:41 -05:00