Re: encoding of Mirrors.masterlist
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
--
bye,
pabs
https://wiki.debian.org/PaulWise
Reply to: