aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/http.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-05-09 12:49:59 +0000
committerWerner Koch <[email protected]>2019-05-09 12:51:49 +0000
commit7c4029110ab45d02e746ddcc13a87952ca0099f5 (patch)
tree655832bb7abb10f1be2f3cbb0886aff09d2651c3 /dirmngr/http.c
parentbuild: Sign all Windows binaries. (diff)
downloadgnupg-7c4029110ab45d02e746ddcc13a87952ca0099f5.tar.gz
gnupg-7c4029110ab45d02e746ddcc13a87952ca0099f5.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 7fdd06a2a..384f2569d 100644
--- a/dirmngr/http.c
+++ b/dirmngr/http.c
@@ -3530,7 +3530,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;