--- a/src/3rdparty/webkit/WebCore/platform/network/qt/ResourceHandleQt.cpp Fri Jan 22 10:32:13 2010 +0200
+++ b/src/3rdparty/webkit/WebCore/platform/network/qt/ResourceHandleQt.cpp Tue Jan 26 12:42:25 2010 +0200
@@ -130,15 +130,6 @@
// onUnload handler, so let's just block it.
if (!page)
return false;
-
- if (!(d->m_user.isEmpty() || d->m_pass.isEmpty())) {
- // If credentials were specified for this request, add them to the url,
- // so that they will be passed to QNetworkRequest.
- KURL urlWithCredentials(d->m_request.url());
- urlWithCredentials.setUser(d->m_user);
- urlWithCredentials.setPass(d->m_pass);
- d->m_request.setURL(urlWithCredentials);
- }
getInternal()->m_frame = static_cast<FrameLoaderClientQt*>(frame->loader()->client())->webFrame();
#if QT_VERSION < 0x040400
@@ -213,14 +204,6 @@
}
#else
ResourceHandleInternal *d = handle.getInternal();
- if (!(d->m_user.isEmpty() || d->m_pass.isEmpty())) {
- // If credentials were specified for this request, add them to the url,
- // so that they will be passed to QNetworkRequest.
- KURL urlWithCredentials(d->m_request.url());
- urlWithCredentials.setUser(d->m_user);
- urlWithCredentials.setPass(d->m_pass);
- d->m_request.setURL(urlWithCredentials);
- }
d->m_frame = static_cast<FrameLoaderClientQt*>(frame->loader()->client())->webFrame();
d->m_job = new QNetworkReplyHandler(&handle, QNetworkReplyHandler::LoadNormal);
#endif