Prevent no valid urls