Upload seems to work as is...
Signed-off-by: Miika Turkia <[email protected]>
---
desktop-widgets/subsurfacewebservices.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/desktop-widgets/subsurfacewebservices.cpp
b/desktop-widgets/subsurfacewebservices.cpp
index 4d17e76..0dd9ad4 100644
--- a/desktop-widgets/subsurfacewebservices.cpp
+++ b/desktop-widgets/subsurfacewebservices.cpp
@@ -821,7 +821,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()));
@@ -858,7 +858,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());
@@ -1028,4 +1028,4 @@ QNetworkReply* UserSurveyServices::sendSurvey(QString
values)
request.setRawHeader("User-Agent", userAgent.toUtf8());
reply = manager()->get(request);
return reply;
-}
\ No newline at end of file
+}
--
2.5.0
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface