Simplify url validate