Skip to content

Fix downloading of PDFs with non-standard mimetype from wallabag - #14271

Merged
Frenzie merged 2 commits into
koreader:masterfrom
harmtemolder:wallabag
Sep 3, 2025
Merged

Frenzie merged 2 commits into
koreader:masterfrom
harmtemolder:wallabag

Conversation

@harmtemolder

@harmtemolder harmtemolder commented Sep 3, 2025 •

Copy link
Copy Markdown
Contributor

Downloading a PDF with a mimetype that includes ;... failed. I then noticed that the original article.mimetype was used to lookup the file extension, instead of the cleaned up local mimetype. This fixes that.

I was also adding debug logging while trying to replicate #14147, and figured it might be useful to leave those in, but didn't think those are worth a separate PR, so left them here.


This change is Reviewable

@Frenzie
Frenzie merged commit 56487cd into koreader:master Sep 3, 2025
@Frenzie Frenzie added this to the 2025.10 milestone Sep 3, 2025
@Frenzie Frenzie added the Plugin label Sep 3, 2025
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.

2 participants