Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants