summaryrefslogtreecommitdiffstats
path: root/dirmngr/http.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2019-05-09 14:49:59 +0200
committerWerner Koch <wk@gnupg.org>2019-05-09 14:50:41 +0200
commit7098e4ce198d70361fb160fabeced7453c76e6b2 (patch)
tree14af3c4faf03a69ae58086de5326444ca09d2199 /dirmngr/http.c
parentagent: If a Label is make sure that label is part of the prompt. (diff)
downloadgnupg2-7098e4ce198d70361fb160fabeced7453c76e6b2.tar.xz
gnupg2-7098e4ce198d70361fb160fabeced7453c76e6b2.zip
dirmngr: Add a CSRF expection for pm.me
-- Also comment typo fix.
Diffstat (limited to 'dirmngr/http.c')
-rw-r--r--dirmngr/http.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dirmngr/http.c b/dirmngr/http.c
index d6856fe05..32c0fb181 100644
--- a/dirmngr/http.c
+++ b/dirmngr/http.c
@@ -3536,7 +3536,8 @@ same_host_p (parsed_uri_t a, parsed_uri_t b)
{ "protonmail.com", "api.protonmail.com" },
{ NULL, "api.protonmail.ch" },
{ "protonmail.ch", "api.protonmail.com" },
- { NULL, "api.protonmail.ch" }
+ { NULL, "api.protonmail.ch" },
+ { "pm.me", "api.protonmail.ch" }
};
int i;
const char *from;