mirror of https://github.com/go-gitea/gitea
Detect ogg mime-type as audio or video (#26494)
"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.pull/26514/head
parent
c91a7e8dbb
commit
ced34bab1a
Loading…
Reference in new issue