Prevent directory traversal attack using hack name, e.g. `NewHack/../../../../../etc/passwd`