normalize mirror urls