diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-03-08 11:40:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-07 22:40:41 -0500 |
commit | 7e3b7c23463bf71c4e2ab93f184a675f1e30df0e (patch) | |
tree | 769d1065a511061994448f2f9e3d0c983f0287b7 /.lgtm | |
parent | b70c7f86604185ed18a9d5e3b25327805e2b6a52 (diff) | |
download | gitea-7e3b7c23463bf71c4e2ab93f184a675f1e30df0e.tar.gz gitea-7e3b7c23463bf71c4e2ab93f184a675f1e30df0e.zip |
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>
Diffstat (limited to '.lgtm')
0 files changed, 0 insertions, 0 deletions