change all URLs of feedback dialog to use https
authorsheepluva
Tue, 29 Mar 2016 08:52:45 +0200
changeset 11630 9d3e32623567
parent 11629 56aa40beedf0
child 11631 6225dfeba347
change all URLs of feedback dialog to use https
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 @@
         "</style>"
         "<div align=\"center\"><h1>%1</h1>"
         "<h3>%2<h3>"
-        "<h4>%3 <a href=\"http://hedgewars.org/kb/KnownBugs\">known bugs</a><h4>"
+        "<h4>%3 <a href=\"https://hedgewars.org/kb/KnownBugs\">known bugs</a><h4>"
         "<h4>%4<h4>"
         "</div>")
         .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");