Skip to content

Conversation

@rohitvishwakarma1819
Copy link

Fixed Bug

#61

Some epubs access their resource by adding query parameter like (/xyzfilename.js?V=2.7.3). This was failing because the resources served were just file. So I added a fallback that if resources request fails to ResourceFailure then try getting the same resource again without query parameters and if this also doesn't work then go with the normal flow.

Also thanks to @vishalgupta7.
Thanks

@rohitvishwakarma1819 rohitvishwakarma1819 changed the title fix: resource requests with href parameters fix: resource requests with query parameters Jul 2, 2022
@mickael-menu
Copy link
Member

Thanks for taking the time to contribute!

I'll keep the other PR (#66) because we want to eventually remove the local HTTP server. Fixing this at the level of the ArchiveFetcher will make sure the problem won't surface again when we do.

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