From 435861b9fb8c221eee4bf50b2c25d59de1f1755c Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 28 Mar 2022 16:12:03 +0200 Subject: dirmngr: Escape more characters in WKD requests. * dirmngr/server.c (proc_wkd_get): Also escape '#' and '+' -- GnuPG-bug-id: 5902 --- dirmngr/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dirmngr/server.c b/dirmngr/server.c index 2702d32f9..1d9cb7fb4 100644 --- a/dirmngr/server.c +++ b/dirmngr/server.c @@ -1012,7 +1012,7 @@ proc_wkd_get (ctrl_t ctrl, assuan_context_t ctx, char *line) { char *escapedmbox; - escapedmbox = http_escape_string (mbox, "%;?&="); + escapedmbox = http_escape_string (mbox, "%;?&=+#"); if (escapedmbox) { uri = strconcat ("https://", -- cgit v1.2.3