summaryrefslogtreecommitdiffstats
path: root/src/core/iobuf.c
diff options
context:
space:
mode:
authorMichael Brown2008-09-24 08:22:42 +0200
committerMichael Brown2008-09-24 08:22:42 +0200
commit35b7658877967e0f0a647a53e3b11497268efbb5 (patch)
treebff2e0fd2a364b6304b4342fe43e9841f4fc3c0e /src/core/iobuf.c
parent[uri] Add uri_encode() and uri_decode() functions for URI character encoding (diff)
downloadipxe-35b7658877967e0f0a647a53e3b11497268efbb5.tar.gz
ipxe-35b7658877967e0f0a647a53e3b11497268efbb5.tar.xz
ipxe-35b7658877967e0f0a647a53e3b11497268efbb5.zip
[settings] Add the uristring setting type
This allows settings to be expanded in a way that is safe to include within a URI string, such as kernel http://10.0.0.1/boot.php?mf=${manufacturer:uristring} where the ${manufacturer} setting may contain characters that are not permitted (or have reserved purposes) within a URI. Since whitespace characters will be URI-encoded (e.g. "%20" for a space character), this also works around the problem that spaces within an expanded setting would cause the shell to split command-line arguments incorrectly.
Diffstat (limited to 'src/core/iobuf.c')
0 files changed, 0 insertions, 0 deletions