Name

ap_unescape_url — remove escape sequences from a URL

Synopsis

int ap_unescape_url(char *url)

Converts escape sequences (%xx) in a URL back to the original character. The conversion is done in place. Returns 0 if successful, BAD_REQUEST if a bad escape sequence is found, and NOT_FOUND if %2f (which converts to “/” ) or %00 is found.