Clean up URL validation