@@ -307,7 +307,7 @@ func getProtocol(r *http.Request) string {
func detectContentType(filename string) string {
ext := filepath.Ext(filename)
mimeType := mime.TypeByExtension(ext)
if mimeType == "" {
if mimeType != "" {
return mimeType
}
return "application/octet-stream"
The note is not visible to the blocked user.