This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
cfgtype:string [2011/03/24 02:25]
mcb30 created
cfgtype:string [2011/03/24 02:44]
Line 27: Line 27:
 ===== See also ===== ===== See also =====
 +  * [[:​cfgtype:​uristring]]
   * [[:cfg|List of all iPXE settings]]   * [[:cfg|List of all iPXE settings]]
 +===== Notes =====
 +A [[:​cfgtype:​string]] setting can contain spaces and other "​special"​ characters that can cause problems during URI parsing. ​ You can avoid these potential problems by requesting expansion as a [[:​cfgtype:​uristring]] setting. ​ For example, if you want to pass the SMBIOS ''​[[:​cfg:​product]]''​ name to a CGI boot script, you could use
 +    chain http://​boot.ipxe.org/​demo/​boot.php?​product=${product:​uristring}
 +This will ensure that any "​special"​ characters are URI-encoded as necessary. ​ For example, if the SMBIOS product name is "​PowerEdge R210", then the above command will expand to
 +    chain http://​boot.ipxe.org/​demo/​boot.php?​product=PowerEdge%20R210
cfgtype/string.txt ยท Last modified: 2011/03/24 02:46 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL http://ipxe.org
References to "iPXE" may not be altered or removed.