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

AN-8888: Normalize the uri before loading data in EpubServer #142

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ZakHsieh
Copy link

@ZakHsieh ZakHsieh commented Jun 5, 2018

If a URI contains HTML URL encoding will cause EpubServer fails to load that resource. This patch will normalize URL(s) before loading to resolve URI cannot be loaded in EpubServer.

@danielweck
Copy link
Member

I reviewed the code "on paper" (i.e. I did not try it myself with edge cases such as HTML escape entities in URL syntax), and it all makes sense, PR looks safe to merge.

However I hope others will review / test the code too :)

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