]> git.ipfire.org Git - thirdparty/openssl.git/commit - CHANGES.md
OSSL_HTTP_parse_url(): Handle any userinfo, query, and fragment components
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Thu, 28 Jan 2021 21:10:47 +0000 (22:10 +0100)
committerDr. David von Oheimb <dev@ddvo.net>
Mon, 1 Mar 2021 09:30:43 +0000 (10:30 +0100)
commit7932982b88f5095f60397fe727d27ddf7234f4d6
tree791fa288ead387d06147ae627169996e093c115d
parente60e974414a7e637ff2f946dc2aa24c381a32cc2
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)
16 files changed:
CHANGES.md
apps/cmp.c
apps/lib/apps.c
apps/ocsp.c
apps/s_server.c
crypto/http/http_client.c
crypto/http/http_lib.c
doc/man1/openssl-cmp.pod.in
doc/man1/openssl-ocsp.pod.in
doc/man1/openssl-s_server.pod.in
doc/man3/OSSL_HTTP_parse_url.pod [new file with mode: 0644]
doc/man3/OSSL_HTTP_transfer.pod
include/openssl/http.h
include/openssl/ocsp.h.in
test/http_test.c
util/missingcrypto.txt