making url validation more relaxed to match lf api