[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: encoding of Mirrors.masterlist



On 2017-02-27 22:16, Laura Arjona Reina wrote:
mmm. But we already have escaped & in mirror_list.pl in lines 601, 621
and 675:

https://anonscm.debian.org/viewvc/webwml/webwml/english/mirror/mirror_list.pl?view=markup


601  $sponsorname =~ s/&(\s+)/&$1/g;

That's "ampersand followed by some whitespace", which will match e.g. "fish & chips", but not "1&1". (I assume the intent was to avoid accidentally double-escaping.)

Regards,

Adam


Reply to: