forked from qt-creator/qt-creator
Gerrit: Support certificate validation
Certificate should be validated by default. Only if it fails, and the user approves, we may skip validation. Change-Id: I7696cd7dda2d6d7ef1aa616557d5619b63372028 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
9443f7104b
commit
73f210dad6
@@ -275,7 +275,7 @@ QueryContext::QueryContext(const QString &query,
|
||||
const QString url = server.url(GerritServer::RestUrl) + "/changes/?q="
|
||||
+ QString::fromUtf8(QUrl::toPercentEncoding(query))
|
||||
+ "&o=CURRENT_REVISION&o=DETAILED_LABELS&o=DETAILED_ACCOUNTS";
|
||||
m_arguments = GerritServer::curlArguments() << url;
|
||||
m_arguments = server.curlArguments() << url;
|
||||
}
|
||||
connect(&m_process, &QProcess::readyReadStandardError, this, [this] {
|
||||
const QString text = QString::fromLocal8Bit(m_process.readAllStandardError());
|
||||
|
||||
Reference in New Issue
Block a user