Re: encoding of Mirrors.masterlist

"Adam D. Barratt" <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <[email protected]>
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+)/&amp;$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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.