Actually add path validation cehcking