Within application/x-www-form-urlencoded values, a "+" character needs
to be escaped to avoid its being interpreted as a space.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
*/
static const char *escaped[URI_EPATH] = {
/* Scheme or default: escape everything */
- [URI_SCHEME] = "/#:@?=&",
+ [URI_SCHEME] = "/#:@?=&+",
/* Opaque part: escape characters which would affect
* the reparsing of the URI, allowing everything else
* (e.g. ':', which will appear in iSCSI URIs).