diff options
author | Werner Koch <wk@gnupg.org> | 2022-03-28 16:12:03 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2022-03-28 16:12:03 +0200 |
commit | 435861b9fb8c221eee4bf50b2c25d59de1f1755c (patch) | |
tree | 87125f2a3022661d434a97aecaadc71e27371536 | |
parent | gpg: Remove EAX from the preference list. (diff) | |
download | gnupg2-435861b9fb8c221eee4bf50b2c25d59de1f1755c.tar.xz gnupg2-435861b9fb8c221eee4bf50b2c25d59de1f1755c.zip |
dirmngr: Escape more characters in WKD requests.
* dirmngr/server.c (proc_wkd_get): Also escape '#' and '+'
--
GnuPG-bug-id: 5902
-rw-r--r-- | dirmngr/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
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://", |