mirror of https://github.com/go-gitea/gitea
Do not recognize text files as audio (#23355)
Close #17108 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>pull/23006/head^2
parent
b70c7f8660
commit
7e3b7c2346
Loading…
Reference in new issue