MCPcopy Create free account
hub / github.com/apache/httpd / is_absolute_path

Function is_absolute_path

modules/mappers/mod_rewrite.c:701–709  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

699}
700
701static int is_absolute_path(const char *path)
702{
703#ifndef CASE_BLIND_FILESYSTEM
704 return (path[0] == '/');
705#else
706 return ((AP_IS_SLASH(path[0]) && path[1] == path[0])
707 || (apr_isalpha(path[0]) && path[1] == ':' && AP_IS_SLASH(path[2])));
708#endif
709}
710
711static const char c2x_table[] = "0123456789abcdef";
712

Callers 1

apply_rewrite_ruleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected