openssl/apps
Dr. David von Oheimb 7932982b88 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)
2021-03-01 10:30:43 +01:00
..
demoSRP Remove unnecessary trailing whitespace 2019-02-05 16:25:11 +01:00
include apps/x509.c: Improve print_name() and coding style of large print loop in x509_main() 2021-02-28 11:46:34 +01:00
lib OSSL_HTTP_parse_url(): Handle any userinfo, query, and fragment components 2021-03-01 10:30:43 +01:00
CA.pl.in Update copyright year 2020-04-23 13:55:52 +01:00
asn1pars.c Check non-option arguments 2020-12-15 11:47:17 +01:00
build.info Remove openssl provider app 2020-09-26 07:13:22 +10:00
ca-cert.srl
ca-key.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
ca-req.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
ca.c apps/ca.c: Make sure ext_ctx structure gets initialized 2021-02-17 17:13:32 +01:00
cert.pem
ciphers.c Update copyright year 2021-02-18 15:05:17 +00:00
client.pem Replace expired test server and client certificates with new ones. 2011-12-08 14:44:05 +00:00
cmp.c OSSL_HTTP_parse_url(): Handle any userinfo, query, and fragment components 2021-03-01 10:30:43 +01:00
cmp_mock_srv.c Update copyright year 2021-01-28 13:54:57 +01:00
cmp_mock_srv.h Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
cms.c Update copyright year 2021-02-18 15:05:17 +00:00
crl.c apps/x509.c: Improve print_name() and coding style of large print loop in x509_main() 2021-02-28 11:46:34 +01:00
crl2p7.c Check non-option arguments 2020-12-15 11:47:17 +01:00
ct_log_list.cnf Remove unnecessary trailing whitespace 2019-02-05 16:25:11 +01:00
dgst.c Process digest option after loading providers 2021-02-12 08:34:17 +10:00
dhparam.c Update copyright year 2021-02-18 15:05:17 +00:00
dsa-ca.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
dsa-pca.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
dsa.c Update copyright year 2021-02-18 15:05:17 +00:00
dsa512.pem
dsa1024.pem
dsap.pem
dsaparam.c Update copyright year 2021-02-18 15:05:17 +00:00
ec.c Rename OSSL_ENCODER_CTX_new_by_EVP_PKEY and OSSL_DECODER_CTX_new_by_EVP_PKEY 2021-02-17 15:26:12 +01:00
ecparam.c Rename OSSL_ENCODER_CTX_new_by_EVP_PKEY and OSSL_DECODER_CTX_new_by_EVP_PKEY 2021-02-17 15:26:12 +01:00
enc.c Process digest option after loading providers 2021-02-12 08:34:17 +10:00
engine.c Check non-option arguments 2020-12-15 11:47:17 +01:00
errstr.c Check non-option arguments 2020-12-15 11:47:17 +01:00
fipsinstall.c apps: update fipsinstall to work with additional MAC_init arguments 2021-02-28 17:25:48 +10:00
gendsa.c Update copyright year 2021-02-18 15:05:17 +00:00
genpkey.c Fetch alg, etc., after loading providers 2021-02-12 08:34:17 +10:00
genrsa.c Update copyright year 2021-02-18 15:05:17 +00:00
info.c Check non-option arguments 2020-12-15 11:47:17 +01:00
insta.ca.crt openssl-cmp.pod.in: Update and extend example using Insta Demo CA 2020-08-04 12:11:46 +02:00
kdf.c apps: add addition argument to KDF derive call 2021-02-28 17:25:49 +10:00
list.c Don't hold a lock when calling a callback in ossl_namemap_doall_names 2021-02-25 08:37:22 +10:00
mac.c apps: update mac to work with additional MAC_init arguments. This doesn't include the creation of new 'key' arguments. 2021-02-28 17:25:48 +10:00
nseq.c Check non-option arguments 2020-12-15 11:47:17 +01:00
ocsp.c OSSL_HTTP_parse_url(): Handle any userinfo, query, and fragment components 2021-03-01 10:30:43 +01:00
openssl-vms.cnf Check the configuration file by default 2020-11-05 20:45:20 +03:00
openssl.c Update copyright year 2021-01-28 13:54:57 +01:00
openssl.cnf Check the configuration file by default 2020-11-05 20:45:20 +03:00
passwd.c passwd.c: use the actual ROUNDS_DEFAULT macro 2021-02-13 13:45:26 +10:00
pca-cert.srl
pca-key.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
pca-req.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
pkcs7.c Update copyright year 2021-02-18 15:05:17 +00:00
pkcs8.c Update copyright year 2021-02-18 15:05:17 +00:00
pkcs12.c Update copyright year 2021-02-18 15:05:17 +00:00
pkey.c Handle NULL result of ERR_reason_error_string() in some apps 2021-02-22 08:49:52 +01:00
pkeyparam.c Handle NULL result of ERR_reason_error_string() in some apps 2021-02-22 08:49:52 +01:00
pkeyutl.c Fix -pkeyopt handling in apps/pkeyutl -rawin 2021-02-22 12:30:49 +01:00
prime.c Check non-option arguments 2020-12-15 11:47:17 +01:00
privkey.pem PR: 1644 2009-09-06 15:49:46 +00:00
progs.pl OPENSSL_NO_GOST has nothing to do with low-level algos 2020-12-15 04:39:58 +01:00
rand.c Update copyright year 2021-02-18 15:05:17 +00:00
rehash.c Update copyright year 2021-01-28 13:54:57 +01:00
req.c apps/x509.c: Improve print_name() and coding style of large print loop in x509_main() 2021-02-28 11:46:34 +01:00
req.pem
rsa.c Handle NULL result of ERR_reason_error_string() in some apps 2021-02-22 08:49:52 +01:00
rsa8192.pem Fix rsa8192.pem 2020-05-13 06:28:36 +02:00
rsautl.c Update copyright year 2021-02-18 15:05:17 +00:00
s512-key.pem
s512-req.pem
s1024key.pem
s1024req.pem
s_client.c Replace SSL_CTX_new by SSL_CTX_new_ex in apps/s_server + s_client 2021-02-17 11:17:54 +10:00
s_server.c OSSL_HTTP_parse_url(): Handle any userinfo, query, and fragment components 2021-03-01 10:30:43 +01:00
s_time.c Check non-option arguments 2020-12-15 11:47:17 +01:00
server.pem Replace apps/server.pem with certificate with a sha256 signature. 2020-01-25 14:10:40 +01:00
server.srl
server2.pem Replace expired test server and client certificates with new ones. 2011-12-08 14:44:05 +00:00
sess_id.c Check non-option arguments 2020-12-15 11:47:17 +01:00
smime.c Fetch cipher after loading providers 2021-02-12 08:34:17 +10:00
speed.c apps: update speed to use the additional arguments to MAC_init 2021-02-28 17:25:49 +10:00
spkac.c Check non-option arguments 2020-12-15 11:47:17 +01:00
srp.c Deprecate the low level SRP APIs 2021-02-12 08:47:32 +00:00
storeutl.c Update copyright year 2021-02-18 15:05:17 +00:00
testCA.pem
testdsa.h speed: Use EVP for ciphers, cmac, ghash, rsa, dsa, and ecdsa 2021-02-24 16:53:18 +01:00
testrsa.h Following the license change, modify the boilerplates in apps/ 2018-12-06 14:15:27 +01:00
timeouts.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
ts.c Update copyright year 2021-02-18 15:05:17 +00:00
tsget.in apps/tsget.in: use the full version in the user agent string 2018-12-10 20:09:17 +01:00
verify.c Check non-option arguments 2020-12-15 11:47:17 +01:00
version.c Check non-option arguments 2020-12-15 11:47:17 +01:00
vms_decc_init.c VMS: move copy_argc to its own module and make it an aux source 2019-03-05 08:51:09 +01:00
x509.c apps/x509.c: Fix mem leaks in processing of -next_serial in print loop 2021-02-28 11:46:34 +01:00