diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-03-10 05:04:07 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-03-10 05:04:07 (GMT) |
commit | 53079ad30ba53fc7b3f53fd460d48cb5c5dcf0b8 (patch) | |
tree | 13fd9761e8ec9135a9630335027d9e2dcc11c09f | |
parent | 27efe3efc0859019e465955961ff699c9c54df09 (diff) | |
download | Qt-53079ad30ba53fc7b3f53fd460d48cb5c5dcf0b8.zip Qt-53079ad30ba53fc7b3f53fd460d48cb5c5dcf0b8.tar.gz Qt-53079ad30ba53fc7b3f53fd460d48cb5c5dcf0b8.tar.bz2 |
Technically, Location can be relative (never is though...)
-rw-r--r-- | src/declarative/qml/qdeclarativexmlhttprequest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativexmlhttprequest.cpp b/src/declarative/qml/qdeclarativexmlhttprequest.cpp index 87cab85..58e67fa 100644 --- a/src/declarative/qml/qdeclarativexmlhttprequest.cpp +++ b/src/declarative/qml/qdeclarativexmlhttprequest.cpp @@ -1245,7 +1245,7 @@ void QDeclarativeXMLHttpRequest::finished() if (m_redirectCount < XMLHTTPREQUEST_MAXIMUM_REDIRECT_RECURSION) { QVariant redirect = m_network->attribute(QNetworkRequest::RedirectionTargetAttribute); if (redirect.isValid()) { - QUrl url = redirect.toUrl(); + QUrl url = m_network->url().resolved(redirect.toUrl()); destroyNetwork(); requestFromUrl(url); return; |