1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

Fixed downloading of some SSL secured content on Windows

This commit is contained in:
nowrep 2011-10-17 13:43:51 +02:00
parent a46ea19a25
commit 483ef1a9cb
3 changed files with 10 additions and 4 deletions

View File

@ -39,10 +39,10 @@ To install QupZilla, run this command: (it may be neccessary to run as root)
$ make install
Actual version
Current version
----------------------------------------------------------------------------------------
Actual released version of QupZilla is 1.0.0-b4, you can download precompiled packages
Current released version of QupZilla is 1.0.0-b4, you can download precompiled packages
and source from download section.
However, if you want latest revision, just take the latest code snapshot either by
downloading a tarball or running:

View File

@ -109,7 +109,7 @@ void AdBlockSubscription::rulesDownloaded()
if (response.isEmpty())
return;
QString fileName = mApp->getActiveProfilPath()+"adblocklist.txt";
QString fileName = mApp->getActiveProfilPath() + "adblocklist.txt";
QFile file(fileName);
if (!file.open(QFile::WriteOnly)) {
qWarning() << "AdBlockSubscription::" << __FUNCTION__ << "Unable to open adblock file for writing:" << fileName;

View File

@ -60,9 +60,15 @@ void NetworkManager::loadSettings()
m_doNotTrack = settings.value("DoNotTrack", false).toBool();
settings.endGroup();
#ifdef Q_WS_WIN
// From doc:
// QSslSocket::VerifyNone ... The connection will still be encrypted, and your socket
// will still send its local certificate to the peer if it's requested.
QSslConfiguration config = QSslConfiguration::defaultConfiguration();
config.setProtocol(QSsl::AnyProtocol);
config.setPeerVerifyMode(QSslSocket::VerifyNone);
QSslConfiguration::setDefaultConfiguration(config);
#endif
m_proxyFactory->loadSettings();
}