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

Using file:// urls produces net::ERR_UNKNOWN_URL_SCHEME error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: P1: Critical P1: Critical
    • None
    • 5.15.0
    • WebEngine
    • None
    • Linux/X11

       

      I have this code:

      <div>
          <div id="message" style="padding-top: 2px; margin-left: 0px; ">
              15.06.2020 15:00: XXX
              <div style="margin-left: 32px; ">
                  <a href="file:///home/igorjan/photos/111.jpg">
                      <img
                          style="margin-left: 10px"
                          src="file:///home/igorjan/photos/111.jpg"
                          height="404"
                      >
                  </a>
              </div>
          </div>
      </div>
      

      It worked fine in 5.14.2 versions, but after update to 5.15.0 I get 

       

      file:///home/igorjan/photos/111.jpg:1 GET file:///home/igorjan/photos/111.jpg net::ERR_UNKNOWN_URL_SCHEME
      

      But when I click on this link photo opens properly

       

       

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

            qt_webengine_team Qt WebEngine Team
            igorjan94 Igor Kolobov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes