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

Wallabag: properly deal with mimetype actually being content-type #11532

Merged
merged 3 commits into from Mar 13, 2024

Conversation

Frenzie
Copy link
Member

@Frenzie Frenzie commented Mar 10, 2024

A typo snuck in #11492, which should've read not type(article.mimetype) == "string" or type(article.mimetype) == "string" and not article.mimetype:find("^text/html"). But in most cases the behavior would've been identically broken because of the same underlying issue: Wallabag mimetype is actually HTTP content-type.

This PR shows two potential solutions while awaiting more concrete information about the actual problem observed in #11528.

Fixes #11528.

There would also be a new setting associated with the behavior in case people have different preferences. Hopefully inspiration will strike soon for the string.


This change is Reviewable

@Frenzie Frenzie added this to the 2024.04 milestone Mar 10, 2024
@Frenzie Frenzie added the Plugin label Mar 10, 2024
@Frenzie Frenzie marked this pull request as ready for review March 13, 2024 11:46
@Frenzie Frenzie merged commit 20813ca into koreader:master Mar 13, 2024
0 of 2 checks passed
@Frenzie Frenzie deleted the 11528-wallabag-mimetype-business branch March 13, 2024 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wallabag: epubs being converted to htm in 2024.03+
1 participant