aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-08-15 11:15:26 +0800
committerGitHub <noreply@github.com>2023-08-15 11:15:26 +0800
commit4bdb8dd9cc028a071819afd8f79cf29b30ab4d30 (patch)
tree77ee7ab0ffa541632d88ca1f3550209152d12e99 /web_src
parent24d6aacc7ee4745799bd2f778c0e2e882099cfa3 (diff)
downloadgitea-4bdb8dd9cc028a071819afd8f79cf29b30ab4d30.tar.gz
gitea-4bdb8dd9cc028a071819afd8f79cf29b30ab4d30.zip
Detect ogg mime-type as audio or video (#26494) (#26505)
Backport #26494 by @wxiaoguang "ogg" is just a "container" format for audio and video. Golang's `DetectContentType` only reports "application/ogg" for potential ogg files. Actually it could do more "guess" to see whether it is a audio file or a video file. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'web_src')
0 files changed, 0 insertions, 0 deletions