cgi_url_escape_more (3) - Linux Manuals

cgi_url_escape_more: url escape a string

NAME

cgi_url_escape_more - url escape a string

SYNOPSIS

#include <cgi/cgi.h>

NEOERR *cgi_url_escape_more (const char *buf, char **esc, const char *other);

ARGUMENTS

buf - a 0 terminated string
other - a 0 terminated string of characters to escape

DESCRIPTION

cgi_url_escape_more will do URL escaping on the passed in string, and return a newly allocated string that is escaped. Characters which are escaped include control characters, %, ?, +, space, =, &, /, and " and any characters in other

RETURN VALUE

esc - a newly allocated string