Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lvscar
Copy link
Contributor

@lvscar lvscar commented Jul 13, 2019

The executing of epub.read_epub will fail with some Epub file. After some digging,I found it is caused by illegal characters in that ebook metadata file.

Lucky,the current xml lib lxml used by ebooklib have an option to handle this situation recover mode for XMLParser.

I think a better compatibility XML parser is better for the project.

@aerkalov aerkalov merged commit eeb038b into aerkalov:master Jun 15, 2022
@aerkalov
Copy link
Owner

Thanks for this! Somebody also noticed XXE vulnerability so custom parser would happen anyway.

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.

2 participants