Details
-
Suggestion
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
4.8.6
-
None
-
OS X
Description
I'm using wkhtmltopdf tool to fetch remote html files which uses Qt/QtWebKit, however it seems there is a problem with relative URLs.
Here are few samples:
<script src="//cdnjs.cloudflare.com/ajax/libs/numeral.js/1.4.5/numeral.min.js"></script>
<script src="//cdn.optimizely.com/js/653710485.js">
<script src="//pagead2.googlesyndication.com/pagead/js/google_top_exp.js">
<img src="/images/filetypes/txt.png">
All requests to those files are ending up with: QNetworkReply::ContentNotFoundError error.
Related issues:
- https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1634
- https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1886
- https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2359
- http://stackoverflow.com/questions/25894251/issues-bugs-in-wkhtmltopdf-0-12
Is it something that can be fixed?
Version 0.11.0 rc1 did not not have this problem as suggested here: https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2359#issuecomment-108773404.