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 253fcb9777
commit 435861b9fb
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 1 additions and 1 deletions

View File

@ -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://",