summaryrefslogtreecommitdiff
path: root/plugins/shotwell-publishing/PiwigoPublishing.vala
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/shotwell-publishing/PiwigoPublishing.vala')
-rw-r--r--plugins/shotwell-publishing/PiwigoPublishing.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/shotwell-publishing/PiwigoPublishing.vala b/plugins/shotwell-publishing/PiwigoPublishing.vala
index 15d118b..fcd0aee 100644
--- a/plugins/shotwell-publishing/PiwigoPublishing.vala
+++ b/plugins/shotwell-publishing/PiwigoPublishing.vala
@@ -1643,8 +1643,8 @@ internal class SessionLoginTransaction : Transaction {
base.with_endpoint_url(session, url);
add_argument("method", "pwg.session.login");
- add_argument("username", username);
- add_argument("password", password);
+ add_argument("username", Uri.escape_string(username));
+ add_argument("password", Uri.escape_string(password));
}
public SessionLoginTransaction.from_other (Session session, Transaction other) {