Diffusion KHtml ce81d9cbf23b

Error page, correctly load the image (with a real URL)

Authored by ltoscano on Mar 18 2017, 10:16 PM.

Description

Error page, correctly load the image (with a real URL)

Summary:
The local address to the image is injected into an HTML page (the
error page). This address needs to be a proper URL with file:///,
not just the absolute path to the image file - otherwise
KIO::SimpleJobPrivate::simpleJobInit complains with "Invalid URL".

Test Plan:
Compiles, and when trying to load an invalid address in Konqueror
with the KHTML part, the warning picture on the top-left corner is
now visible.

Reviewers: mpyne

Reviewed By: mpyne

Subscribers: mpyne, Frameworks

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D5104

Details

Committed
ltoscanoMar 30 2017, 7:34 PM
Reviewer
mpyne
Differential Revision
D5104: Error page, correctly load the image (with a real URL)
Parents
R313:ed3c06cf36ff: Upgrade KF5 version to 5.33.0.
Branches
Unknown
Tags
Unknown