aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmltypeloader/data/redirected/qmldir
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-05-23 12:28:46 +0200
committerUlf Hermann <ulf.hermann@qt.io>2018-05-23 14:08:47 +0000
commitcda2680d801acce4e221b23e88d9b3c5504f86e8 (patch)
tree64ec6d80568603fe694623ed494b1718414bfac2 /tests/auto/qml/qqmltypeloader/data/redirected/qmldir
parent160e6ee28f64665812730a94f8390521ef7ad6f8 (diff)
On network redirects, update finalUrl, not url
We want all further imports to be relative to the redirected URL, not the base one. Note that this will incorporate any prior URL interceptions into the final URL if a redirect happens. We don't really want this to happen because the result of interception is not meant to be the base for further URL lookup. However, as interception occurs before redirection, this is unavoidable. Don't use URL interceptors on remote URLs. Task-number: QTBUG-67882 Change-Id: I2717bdd4de119ac67caa08fdccc041432025abff Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmltypeloader/data/redirected/qmldir')
-rw-r--r--tests/auto/qml/qqmltypeloader/data/redirected/qmldir1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmltypeloader/data/redirected/qmldir b/tests/auto/qml/qqmltypeloader/data/redirected/qmldir
new file mode 100644
index 0000000000..8eb1fa5c18
--- /dev/null
+++ b/tests/auto/qml/qqmltypeloader/data/redirected/qmldir
@@ -0,0 +1 @@
+Imported 1.0 Imported.qml