Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-46240

Support for relative URLs.

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 4.8.6
    • WebKit
    • None
    • OS X

    • macOS

    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:

      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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            annulen Konstantin Tokarev
            kenorb Rafal W.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes