Fixed case where number of dotdot greater than allowed in parent url