Changeset 97154 in webkit
- Timestamp:
- Oct 11, 2011 9:13:11 AM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r97139 r97154 1 2011-10-11 Gopal Raghavan <gopal.1.raghavan@nokia.com> 2 3 [Qt] WebProcess using proxy settings for localhost as well 4 https://bugs.webkit.org/show_bug.cgi?id=69611 5 6 Reviewed by Chang Shu. 7 8 Implemented checks in queryProxy to return QNetworkProxy::NoProxy for localhost and 127.0.0.1 9 10 * WebProcess/qt/WebProcessMainQt.cpp: 11 (WebKit::EnvHttpProxyFactory::queryProxy): 12 1 13 2011-10-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> 2 14 -
trunk/Source/WebKit2/WebProcess/qt/WebProcessMainQt.cpp
r96417 r97154 105 105 { 106 106 QString protocol = query.protocolTag().toLower(); 107 if (protocol == QLatin1String("http")) 107 bool localHost = false; 108 109 if (!query.peerHostName().compare(QLatin1String("localhost"), Qt::CaseInsensitive) || !query.peerHostName().compare(QLatin1String("127.0.0.1"), Qt::CaseInsensitive)) 110 localHost = true; 111 if (protocol == QLatin1String("http") && !localHost) 108 112 return m_httpProxy; 109 else if (protocol == QLatin1String("https"))113 if (protocol == QLatin1String("https") && !localHost) 110 114 return m_httpsProxy; 111 115
Note: See TracChangeset
for help on using the changeset viewer.