summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/subsurfacewebservices.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp
index ee079cc48..f5c7846d9 100644
--- a/qt-ui/subsurfacewebservices.cpp
+++ b/qt-ui/subsurfacewebservices.cpp
@@ -818,7 +818,7 @@ void DivelogsDeWebServices::startDownload()
QUrlQuery body;
body.addQueryItem("user", ui.userID->text());
- body.addQueryItem("pass", ui.password->text());
+ body.addQueryItem("pass", ui.password->text().replace("+", "%2b"));
reply = manager()->post(request, body.query(QUrl::FullyEncoded).toLatin1());
connect(reply, SIGNAL(finished()), this, SLOT(listDownloadFinished()));
@@ -855,7 +855,7 @@ void DivelogsDeWebServices::listDownloadFinished()
QUrlQuery body;
body.addQueryItem("user", ui.userID->text());
- body.addQueryItem("pass", ui.password->text());
+ body.addQueryItem("pass", ui.password->text().replace("+", "%2b"));
body.addQueryItem("ids", diveList.idList);
reply = manager()->post(request, body.query(QUrl::FullyEncoded).toLatin1());