1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

dirmngr: Escape more characters in WKD requests.

* dirmngr/server.c (proc_wkd_get): Also escape '#' and '+'
--
GnuPG-bug-id: 5902
This commit is contained in:
Werner Koch 2022-03-28 16:12:03 +02:00
parent ce69d55f70
commit 3b251c8366
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -1012,7 +1012,7 @@ proc_wkd_get (ctrl_t ctrl, assuan_context_t ctx, char *line)
{ {
char *escapedmbox; char *escapedmbox;
escapedmbox = http_escape_string (mbox, "%;?&="); escapedmbox = http_escape_string (mbox, "%;?&=+#");
if (escapedmbox) if (escapedmbox)
{ {
uri = strconcat ("https://", uri = strconcat ("https://",