This repository has been archived by the owner on Jan 2, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Remove query string from failed url, before handling error
Currently wkhtmltox don't ignore media errors for URL with a query string whereas load-media-error-handling takes 'ignore' value. This is due to QFileInfo::completeSuffix() returning extension as well as qs. This little fix circumvents this issue by removing everything using regexp: '\?.*$'.
- Loading branch information