summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/uri.h
Commit message (Collapse)AuthorAgeFilesLines
* [build] Rename gPXE to iPXEMichael Brown2010-04-201-182/+0Star
| | | | | | | | | | | Access to the gpxe.org and etherboot.org domains and associated resources has been revoked by the registrant of the domain. Work around this problem by renaming project from gPXE to iPXE, and updating URLs to match. Also update README, LOG and COPYRIGHTS to remove obsolete information. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [uri] Decode/encode URIs when parsing/unparsingJoshua Oreman2010-01-211-3/+41
| | | | | | | | | | | | | | | 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>
* [legal] Add a selection of FILE_LICENCE declarationsMichael Brown2009-05-181-0/+2
| | | | | Add FILE_LICENCE declarations to almost all files that make up the various standard builds of gPXE.
* [image] Allow multiple embedded imagesMichael Brown2009-02-161-0/+1
| | | | | | | | | | This patch extends the embedded image feature to allow multiple embedded images instead of just one. gPXE now always boots the first embedded image on startup instead of doing the hardcoded DHCP boot (aka autoboot). Based heavily upon a patch by Stefan Hajnoczi <stefanha@gmail.com>.
* [uri] Add uri_encode() and uri_decode() functions for URI character encodingMichael Brown2008-09-241-0/+2
|
* uri_get(NULL) and uri_put(NULL) are explicitly allowed.Michael Brown2007-08-021-2/+2
|
* Allow images to hold references to the originating URI.Michael Brown2007-08-021-2/+2
| | | | Some shuffling around of the image management code; this needs tidying up.
* Add concept of "current working URI".Michael Brown2007-06-121-0/+3
|
* Add facility for resolving base+relative URIs (and paths).Michael Brown2007-06-031-1/+7
|
* Make URI structures reference-counted.Michael Brown2007-05-281-5/+18
|
* Add utility function to parse port from URIMichael Brown2007-01-181-0/+1
|
* Added a URI parser that should be standards conformant. (It can certainlyMichael Brown2007-01-151-0/+116
handle something as convoluted as ftp://joe:secret@insecure.org:8081/hidden/path/to?what=is#this