#370: Restored and modified URL validation using patterns