Fix basic HTTP directory traversal detection