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

Support for relative URLs.

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 4.8.6
    • Fix Version/s: None
    • Component/s: WebKit
    • Labels:
      None
    • Environment:

      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:

      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

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes