Fix URL validation