7667536527
Add support for parsing of URIs containing literal IPv6 addresses (e.g. "http://[fe80::69ff:fe50:5845%25net0]/boot.ipxe"). Duplicate URIs by directly copying the relevant fields, rather than by formatting and reparsing a URI string. This relaxes the requirements on the URI formatting code and allows it to focus on generating human-readable URIs (e.g. by not escaping ':' characters within literal IPv6 addresses). As a side-effect, this allows relative URIs containing parameter lists (e.g. "../boot.php##params") to function as expected. Add validity check for FTP paths to ensure that only printable characters are accepted (since FTP is a human-readable line-based protocol with no support for character escaping). Construct TFTP next-server+filename URIs directly, rather than parsing a constructed "tftp://..." string, Add self-tests for URI functions. Signed-off-by: Michael Brown <mcb30@ipxe.org> |
||
---|---|---|
.. | ||
comboot | ||
aes_cbc_test.c | ||
base16_test.c | ||
base64_test.c | ||
bigint_test.c | ||
bofm_test.c | ||
byteswap_test.c | ||
cbc_test.c | ||
cbc_test.h | ||
cms_test.c | ||
crc32_test.c | ||
deflate_test.c | ||
digest_test.c | ||
digest_test.h | ||
dns_test.c | ||
entropy_sample.c | ||
gdbstub_test.gdb | ||
gdbstub_test.S | ||
hash_df_test.c | ||
hmac_drbg_test.c | ||
ipv6_test.c | ||
linebuf_test.c | ||
list_test.c | ||
md5_test.c | ||
memcpy_test.c | ||
ocsp_test.c | ||
pixbuf_test.c | ||
pixbuf_test.h | ||
png_test.c | ||
pnm_test.c | ||
pubkey_test.h | ||
rsa_test.c | ||
settings_test.c | ||
sha1_test.c | ||
sha256_test.c | ||
string_test.c | ||
tcpip_test.c | ||
test.c | ||
tests.c | ||
time_test.c | ||
umalloc_test.c | ||
uri_test.c | ||
vsprintf_test.c | ||
x509_test.c |