Fix return value in URL validator