Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:Update
libqt4
CVE-2012-5624.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2012-5624.diff of Package libqt4
commit 96311def2466dd44de64d77a1c815b22fbf68f71 Author: Richard Moore <rich@kde.org> Date: Mon Nov 19 20:48:39 2012 +0000 Make the rules for redirects a bit stricter. Change-Id: I7a3cec664aa028202de3d3bda9f499e4deb2998d Reviewed-by: Lars Knoll <lars.knoll@digia.com> --- src/declarative/qml/qdeclarativexmlhttprequest.cpp +++ src/declarative/qml/qdeclarativexmlhttprequest.cpp @@ -1272,9 +1272,11 @@ void QDeclarativeXMLHttpRequest::finished() QVariant redirect = m_network->attribute(QNetworkRequest::RedirectionTargetAttribute); if (redirect.isValid()) { QUrl url = m_network->url().resolved(redirect.toUrl()); - destroyNetwork(); - requestFromUrl(url); - return; + if (url.scheme().toLower() != QLatin1String("file")) { + destroyNetwork(); + requestFromUrl(url); + return; + } } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor