Closed mickael-menu closed 3 weeks ago
Instead of comparing URL to their string representation, compare their components with different rules:
The reason for this change is that some EPUBs encode unreserved characters which breaks locating a Link from an HREF.
For example both of these are valid relative URLs which point to the same resource:
Text/Ces_choses_qu'on_laisse.xhtml
Text/Ces_choses_qu%27on_laisse.xhtml
Instead of comparing URL to their string representation, compare their components with different rules:
The reason for this change is that some EPUBs encode unreserved characters which breaks locating a Link from an HREF.
For example both of these are valid relative URLs which point to the same resource:
Text/Ces_choses_qu'on_laisse.xhtml
Text/Ces_choses_qu%27on_laisse.xhtml