Skip to content
This repository was archived by the owner on Jan 2, 2023. It is now read-only.

Conversation

akerouanton
Copy link
Contributor

@akerouanton akerouanton commented Aug 5, 2017

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: \?.*$.

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: '\?.*$'.
@ashkulz ashkulz merged commit 333521a into wkhtmltopdf:master Aug 18, 2017
@akerouanton akerouanton deleted the fix-ignore-media-with-qs branch August 18, 2017 06:57
@ashkulz ashkulz added the Merged label May 30, 2018
@ashkulz ashkulz added this to the 0.12.5 milestone May 30, 2018
@ashkulz
Copy link
Member

ashkulz commented May 30, 2018

A release candidate is available which includes the fixes made in this PR -- please test and report your findings before the final release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

2 participants