mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
44c8232b97
commit
72124fadaf
7 changed files with 36 additions and 18 deletions
|
@ -2113,7 +2113,7 @@ make_keyserver_item (const char *uri, uri_item_t *r_item)
|
|||
else
|
||||
#endif
|
||||
{
|
||||
err = http_parse_uri (&item->parsed_uri, uri, 1);
|
||||
err = http_parse_uri (&item->parsed_uri, uri, HTTP_PARSE_NO_SCHEME_CHECK);
|
||||
}
|
||||
|
||||
if (err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue