Re: encoding of Mirrors.masterlist

Paul Wise <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <CAKTje6FAw53quKAxAWtNo6JLyZfTv2w79wc7oQPbMiNh_33U+A@mail.gmail.com>
On Tue, Mar 21, 2017 at 12:42 AM, Frans Spiesschaert wrote:

> So, what action should be taken?

The mirrors masterlist should have all of the  HTML entities converted
to UTF-8. There are a number of them in the
Sponsor/Location/Maintainer fields. I've done this just now:

https://anonscm.debian.org/cgit/mirror/mirror-masterlist.git/commit/?id=f7402a9685b7e6174f126b335534de20396d0919

The mirrors.pl script should be rewritten to use a templating system
that understands HTML and converts any unsafe characters.

If that is going to take a while, then a short-term solution could be
to remove any custom manual encoding from the mirrors.pl script and
use a HTML entity escaping library like HTML::Entities from
libhtml-parser-perl. I've done this just now:

https://anonscm.debian.org/viewvc/webwml/webwml/english/mirror/mirror_list.pl?r1=1.170&r2=1.171
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.