Skip to content

Commit

Permalink
Remove EPUB mimetype
Browse files Browse the repository at this point in the history
See #787. An EPUB is a zip archive, so opening it for editing as plaintext is unexpected behavior and risks corrupting the file.

Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
  • Loading branch information
leifurhauks authored and rullzer committed Mar 29, 2021
1 parent d76a7a9 commit 3e702cb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/helpers/mime.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ const openMimetypesPlainText = [
'application/cmd',
'application/x-empty',
'application/x-msdos-program',
'application/epub+zip',
'application/javascript',
'application/json',
'application/x-perl',
Expand Down

0 comments on commit 3e702cb

Please sign in to comment.