Fix path-based content type regex matcher