diff options
author | Giteabot <teabot@gitea.io> | 2023-03-08 03:03:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-08 16:03:05 +0800 |
commit | cf80f829b49b35fd91854798f9ead913145782f1 (patch) | |
tree | b77d5eedd32a9dae77cdfa2a8476c2d495f971b0 /web_src | |
parent | ed25e094abfc93e83c6fecb5d82ce64d0e220717 (diff) | |
download | gitea-cf80f829b49b35fd91854798f9ead913145782f1.tar.gz gitea-cf80f829b49b35fd91854798f9ead913145782f1.zip |
Do not recognize text files as audio (#23355) (#23368)
Backport #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: wxiaoguang <wxiaoguang@gmail.com>
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 'web_src')
0 files changed, 0 insertions, 0 deletions