Группа :: Сети/WWW
Пакет: cutycapt
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: CutyCapt-bea8c782-alt-ignore_ssl_errors.patch
Скачать
Скачать
Ignore ssl errors which allows some https sites (like paypal.com) to work
Patch from https://github.com/DannyT/CutyCapt/commit/951c4e03787606dacd7fa90d277c16b2ed71cb32
--- CutyCapt.cpp.orig
+++ CutyCapt.cpp
@@ -176,6 +176,11 @@
mScriptCode = scriptCode;
mScriptObj = new QObject();
+ // Ignore SSL errors
+ QNetworkAccessManager* mManager = mPage->networkAccessManager();
+ connect(mManager, SIGNAL(sslErrors(QNetworkReply*,QList<QSslError>)),
+ this, SLOT(handleSslErrors(QNetworkReply*,QList<QSslError>)));
+
// This is not really nice, but some restructuring work is
// needed anyway, so this should not be that bad for now.
mPage->setCutyCapt(this);