# HG changeset patch
# User sheepluva
# Date 1459234365 -7200
# Node ID 9d3e32623567a35890a076b535027784927fd153
# Parent 56aa40beedf0ed615f54f97ed82964d291bf9e34
change all URLs of feedback dialog to use https
diff -r 56aa40beedf0 -r 9d3e32623567 QTfrontend/ui/widget/feedbackdialog.cpp
--- a/QTfrontend/ui/widget/feedbackdialog.cpp Mon Mar 28 18:19:20 2016 -0400
+++ b/QTfrontend/ui/widget/feedbackdialog.cpp Tue Mar 29 08:52:45 2016 +0200
@@ -85,7 +85,7 @@
""
"
")
.arg(tr("Send us feedback!"))
@@ -387,7 +387,7 @@
return;
}
- QString url = "http://hedgewars.org/feedback/?captcha&id=";
+ QString url = "https://hedgewars.org/feedback/?captcha&id=";
url += QString::number(captchaID);
QNetworkAccessManager *netManager = GetNetManager();
@@ -423,7 +423,7 @@
void FeedbackDialog::LoadCaptchaImage()
{
QNetworkAccessManager *netManager = GetNetManager();
- QUrl captchaURL("http://hedgewars.org/feedback/?gencaptcha");
+ QUrl captchaURL("https://hedgewars.org/feedback/?gencaptcha");
QNetworkRequest req(captchaURL);
genCaptchaRequest = netManager->get(req);
}
@@ -493,7 +493,7 @@
connect(nam, SIGNAL(finished(QNetworkReply*)),
this, SLOT(finishedSlot(QNetworkReply*)));
- QNetworkRequest header(QUrl("http://hedgewars.org/feedback/?submit"));
+ QNetworkRequest header(QUrl("https://hedgewars.org/feedback/?submit"));
header.setRawHeader("Content-Length", QString::number(body.size()).toAscii());
header.setRawHeader("Content-Type", "application/x-www-form-urlencoded");