[shotwell/shotwell-0.28] Piwigo: Fix logging in with "&" in password
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell/shotwell-0.28] Piwigo: Fix logging in with "&" in password
- Date: Sat, 31 Mar 2018 12:01:51 +0000 (UTC)
commit 717552104d580c9dad3c8953085fa3e08b26c750
Author: Jens Georg <mail+gitkraken jensge org>
Date: Sat Mar 31 13:50:00 2018 +0200
Piwigo: Fix logging in with "&" in password
https://bugzilla.gnome.org/show_bug.cgi?id=718742
plugins/shotwell-publishing/PiwigoPublishing.vala | 4 ++--
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) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]