Home GnuPG
Diffusion GnuPG 1c96f4d663c0

dirmngr: Support pseudo URI scheme "opaque".

Description

dirmngr: Support pseudo URI scheme "opaque".

* dirmngr/http.h (HTTP_PARSE_NO_SCHEME_CHECK): New.
* dirmngr/http.c (http_parse_uri): Use this flag.  Change all callers
to use the new macro for better readability.
(do_parse_uri): Add pseudo scheme "opaque".
(uri_query_value): New.

This scheme can be used to convey arbitrary strings in a parsed_uri_t
object.

(cherry picked from commit 72124fadafde153f8ac89a70202006d831829d06)

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 25 2021, 4:08 PM
Parents
rG755a5f1a0e33: card: Fix typo in help message
Branches
Unknown
Tags
Unknown