sobtwmxt
71e77b8cc2
[uri] Fix outdated comment in parse_uri()
...
Signed-off-by: Marty Connor <mdc@etherboot.org>
2009-11-20 20:42:03 -05:00
Michael Brown
c44a193d0d
[legal] Add a selection of FILE_LICENCE declarations
...
Add FILE_LICENCE declarations to almost all files that make up the
various standard builds of gPXE.
2009-05-18 08:33:25 +01:00
Michael Brown
3fe6bede74
[uri] Avoid interpreting DOS-style path names as opaque URIs
...
A DOS-style full path name such as "C:\Program Files\tftpboot\nbp.0"
satisfies the syntax requirements for a URI with a scheme of "C" and
an opaque portion of "\Program Files\tftpboot\nbp.0".
Add a check in parse_uri() to ignore schemes that are apparently only
a single character long; this avoids interpreting DOS-style paths in
this way, and shouldn't affect any practical URI scheme.
2008-10-24 04:08:43 +01:00
Michael Brown
b350b10b35
[uri] Add uri_encode() and uri_decode() functions for URI character encoding
2008-09-24 07:21:47 +01:00
Holger Lubitz
6def8592ed
convert to zalloc
2007-07-06 20:42:05 +02:00
Michael Brown
15dae1e042
Add concept of "current working URI".
2007-06-11 23:54:51 +01:00
Michael Brown
a6f0a098da
Add facility for resolving base+relative URIs (and paths).
2007-06-03 02:01:02 +00:00
Michael Brown
656485c1f1
Make URI structures reference-counted.
2007-05-28 17:35:15 +00:00
Michael Brown
5a807994d8
Add utility function to parse port from URI
2007-01-18 03:28:55 +00:00
Michael Brown
26166cf5e0
Added a URI parser that should be standards conformant. (It can certainly
...
handle something as convoluted as
ftp://joe:secret@insecure.org:8081/hidden/path/to?what=is#this
2007-01-14 23:48:31 +00:00