Slightly stricter URL checking.