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

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:


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:




Reply to: