Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove EPUB mimetype #1384

Merged
merged 1 commit into from
Jan 26, 2021
Merged

Remove EPUB mimetype #1384

merged 1 commit into from
Jan 26, 2021

Conversation

leifurhauks
Copy link
Contributor

Summary

An EPUB is a zip archive, so opening it for editing as plaintext is unexpected behavior and risks corrupting the file.

See nextcloud#787. An EPUB is a zip archive, so opening it for editing as plaintext is unexpected behavior and risks corrupting the file.
@juliusknorr juliusknorr merged commit 0b3dde0 into nextcloud:master Jan 26, 2021
@juliusknorr
Copy link
Member

/backport to stable20

@juliusknorr
Copy link
Member

/backport to stable19

@rullzer rullzer mentioned this pull request Jan 27, 2021
19 tasks
@leifurhauks
Copy link
Contributor Author

Hi @juliushaertl , I think the bundles weren't rebuilt in the most recent 20.x releases, so this bug is still occurring in 20.0.7 and 20.0.8. Another user recently reported the same behavior in nextcloud/server#25921.

When I build the app myself, clicking an epub file initiates a download as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Text tries to open EPub files while it cannot display them correctly
4 participants