Fixed feedback submission by correcting Content-Type.
authordag10 <gottlieb.drew@gmail.com>
Mon, 14 Jan 2013 16:04:05 -0500
changeset 8389 6d65ed1f832c
parent 8388 e51211f92de1
child 8390 0b2403003640
Fixed feedback submission by correcting Content-Type.
QTfrontend/ui/widget/feedbackdialog.cpp
--- a/QTfrontend/ui/widget/feedbackdialog.cpp	Mon Jan 14 15:26:00 2013 -0500
+++ b/QTfrontend/ui/widget/feedbackdialog.cpp	Mon Jan 14 16:04:05 2013 -0500
@@ -478,6 +478,7 @@
             
     QNetworkRequest header(QUrl("http://hedgewars.org/feedback/?submit"));
     header.setRawHeader("Content-Length", QString::number(body.size()).toAscii());
+    header.setRawHeader("Content-Type", "application/x-www-form-urlencoded");
     
     nam->post(header, body);
 }