david/ipxe
david
/
ipxe
Archived
1
0
Fork 0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/tests
Joshua Oreman 3d9dd93a14 [uri] Decode/encode URIs when parsing/unparsing
Currently, handling of URI escapes is ad-hoc; escaped strings are
stored as-is in the URI structure, and it is up to the individual
protocol to unescape as necessary. This is error-prone and expensive
in terms of code size. Modify this behavior by unescaping in
parse_uri() and escaping in unparse_uri() those fields that typically
handle URI escapes (hostname, user, password, path, query, fragment),
and allowing unparse_uri() to accept a subset of fields to print so
it can be easily used to generate e.g. the escaped HTTP path?query
request.

Signed-off-by: Joshua Oreman <oremanj@rwcr.net>
Signed-off-by: Marty Connor <mdc@etherboot.org>
2010-01-20 18:14:28 -05:00
..
comboot [comboot] Add COMBOOT and COM32 support 2008-08-28 23:52:19 +01:00
gdbstub_test.S [i386] Add explicit flags and type on all .section declarations 2009-02-15 10:59:53 +00:00
gdbstub_test.gdb [GDB] Zero-extend 16-bit segment registers 2008-06-30 19:19:48 +01:00
linebuf_test.c Line buffer API changed a while ago 2007-07-03 21:21:50 +01:00
memcpy_test.c Had this file lying around for ages; may as well check it in. 2007-01-11 15:31:50 +00:00
umalloc_test.c Use stdio.h instead of vsprintf.h 2007-01-19 01:13:12 +00:00
uri_test.c [uri] Decode/encode URIs when parsing/unparsing 2010-01-20 18:14:28 -05:00