Simplify URL validation.