Ignore array entries with empty strings.
Adding test to ensure URLs with stars (*) are correctly handled (it was already the case).