Re: encoding of Mirrors.masterlist

Frans Spiesschaert <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <[email protected]>
Hi Paul,

Thank you very much

Paul Wise schreef op di 21-03-2017 om 12:05 [+0800]:
> 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
> 

-- 
Regards,
Frans
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCAAGBQJY0QoBAAoJEMGFpbP3zJZY8CgP+QF/0+w4Ids3Q37XBZeCqlk4
vCTIcO6FzpeJygU3iunzFuotnY/1quzb6cOE6tLUXYSS5sKGpvs5B2TJWvYcIOBz
G2uiBHda2RuD1/aUMRAjPeiq9ptOkaJOp/O1kQsifXMlUGtsb0+a4/qYrvdfzcrV
Z5t0aTM4zKpheN8Ag8iLMLINIzY9Shkk9QlELkpeOACpe5X4E7ITXZh04CMgGgoU
544JTxIiIq2anlEodLzhZ1xF1uSM0E1vHmedQBWub70XvW7ql8yQ3i+/0yhZpwMh
J3q0GlKPysh5IDgxfJ3c4gDktdrHswpZuDiJ9VSPiuVj/Q3lCqvX6Fv2n/2DXWOR
KgehyUOHNTaKJJE/drYqwxy9ytyqo0ZHOG89iKxw7t9ExmIo5TUkDoNhyCErqhqZ
iOFd45tifvkZVzKAr83Se5V6oOYmq2FMxO7oAxmvao+3Ime2ZSE9uLV1OZA2k5UX
kW3mZ1j5nHeAsgXhqpu1Ryhq0otbeOJcqe3Iw9EWsSAXLXybEM6HT+r2xbdO1RBI
i0dvQN45CjpL38JZoCygnjMT/h4We0Psr3PSmpO0ttaTco6X7MEEjAOOJ+fy1zmo
nAtm7moKQ1p6TktpplwVQELoctNDH/zqPTQ3uzYjEMULHGB+RqEDcajuuisXWyhm
aAaxIkqjay4u6Apqkhww
=p1/b
-----END PGP SIGNATURE-----
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.