Name

ap_os_escape_path — escape a path as per RFC 1808

Synopsis

char *ap_os_escape_path(pool *p, const char *path, int partial)

Returns an escaped version of path, per RFC 1808. If partial is nonzero, the path is assumed to be a trailing partial path (so that a “./” is not used to hide a “:”).