cgi_url_validate (3) Linux Manual Page
cgi_url_validate – validate that url is of an allowed format Synopsis#include <cgi/cgi.h>NEOERR *cgi_url_validate (const char *buf, char **esc);Argumentsbuf – a 0 terminated string Descriptioncgi_url_validate will check that a URL starts with one of the accepted safe schemes. If not, it returns "#" as a safe substitute. Currently accepted schemes are http, https, ftp and mailto….
