ap_ getparents — remove “.” and “..” segments from a path
void ap_ getparents(char *name)
Removes “..” and “.” segments from a path, as specified in RFC 1808 (Relative Uniform Resource Locators). This is important not only for security but also to allow correct matching of URLs. Note that Apache should never be presented with a path containing such things, but it should behave correctly when it is.