diff options
author | Michael Brown <mcb30@ipxe.org> | 2016-03-14 17:39:17 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2016-03-14 18:03:13 +0000 |
commit | 75496817c2d28aef8b91fce8185814f8d39f69ab (patch) | |
tree | 75289d6cf753f3eebad79bc9c735a0fd3e520d57 /src/core/uri.c | |
parent | 17c1488a441756974d77d52a2b84c9c439327b47 (diff) | |
download | ipxe-75496817c2d28aef8b91fce8185814f8d39f69ab.zip ipxe-75496817c2d28aef8b91fce8185814f8d39f69ab.tar.gz ipxe-75496817c2d28aef8b91fce8185814f8d39f69ab.tar.bz2 |
[uri] Support "file:" URIs describing relative paths
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/core/uri.c')
-rw-r--r-- | src/core/uri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/uri.c b/src/core/uri.c index 0abd8bd..73ad2b2 100644 --- a/src/core/uri.c +++ b/src/core/uri.c @@ -157,7 +157,7 @@ static int uri_character_escaped ( char c, unsigned int field ) { * the reparsing of the URI, allowing everything else * (e.g. ':', which will appear in iSCSI URIs). */ - [URI_OPAQUE] = "/#", + [URI_OPAQUE] = "#", /* User name: escape everything */ [URI_USER] = "/#:@?", /* Password: escape everything */ |