diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-01-28 22:10:47 +0100 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2021-03-01 10:30:43 +0100 |
commit | 7932982b88f5095f60397fe727d27ddf7234f4d6 (patch) | |
tree | 791fa288ead387d06147ae627169996e093c115d /doc/man1/openssl-ocsp.pod.in | |
parent | e60e974414a7e637ff2f946dc2aa24c381a32cc2 (diff) |
OSSL_HTTP_parse_url(): Handle any userinfo, query, and fragment components
Now handle [http[s]://][userinfo@]host[:port][/path][?query][#frag]
by optionally providing any userinfo, query, and frag components.
All usages of this function, which are client-only,
silently ignore userinfo and frag components,
while the query component is taken as part of the path.
Update and extend the unit tests and all affected documentation.
Document and deprecat OCSP_parse_url().
Fixes an issue that came up when discussing FR #14001.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14009)
Diffstat (limited to 'doc/man1/openssl-ocsp.pod.in')
-rw-r--r-- | doc/man1/openssl-ocsp.pod.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/man1/openssl-ocsp.pod.in b/doc/man1/openssl-ocsp.pod.in index 8cd9c7de19..96fe6acbc9 100644 --- a/doc/man1/openssl-ocsp.pod.in +++ b/doc/man1/openssl-ocsp.pod.in @@ -157,6 +157,8 @@ with B<-serial>, B<-cert> and B<-host> options). =item B<-url> I<responder_url> Specify the responder URL. Both HTTP and HTTPS (SSL/TLS) URLs can be specified. +The optional userinfo and fragment components are ignored. +Any given query component is handled as part of the path component. =item B<-host> I<hostname>:I<port>, B<-path> I<pathname> |