Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.devel > #101539
| From | Bastien ROUCARIES <roucaries.bastien@gmail.com> |
|---|---|
| Newsgroups | linux.debian.devel |
| Subject | Re: Ideas for a dh-privacy-helper |
| Date | 2021-09-04 20:50 +0200 |
| Message-ID | <CTITL-6Od-7@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <CSXBw-1cI-7@gated-at.bofh.it> <CT2KT-4kc-31@gated-at.bofh.it> <CT5Sq-6s4-9@gated-at.bofh.it> <CTIh3-6A0-3@gated-at.bofh.it> <CTIh3-6A0-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Le sam. 4 sept. 2021 à 18:03, Jonas Smedegaard <jonas@jones.dk> a écrit : > > Quoting Bastien ROUCARIES (2021-09-04 19:52:50) > > Le ven. 3 sept. 2021 à 01:03, Jonas Smedegaard <jonas@jones.dk> a écrit : > > > > > > Quoting Bastien Roucariès (2021-09-02 23:45:30) > > > > Perl is an option I implemented the privacy breach test in perl. The > > > > problem is I prefer to drop a debian/package.privacy.xslt file in the > > > > package instead of asking maintainer to code the removal of privacy > > > > problems... > > > > > > > > Generic one could be coded in perl, but for the end side I need > > > > something like xslt2 > > > > > > If you are asking how to sloppily parse HTML5 files from upstream source > > > and XSLT2 files provided by package maintainers, then with perl you > > > could use HTML::HTML5::Parser for the first and XML::Saxon::XSLT2 for > > > the second. > > > > Unfortunatly HTML::HTML5::Parser is RC buggy since 4 years due to a > > bug for handling UTF-8 (#750946) > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750946 > > Ouch! > > I keep forgetting which packages are affected by that annoying bug :-/ > > > > Your suggestion will work fine but we need to get some solution for > > this utf-8 problem... > > I have recently grown somewhat more familiar with UTF-8 and perl (in my > work towards fixing bug#867305 in licensecheck), and will try take a > fresh look at bug#750946... The solution is straightforward just send you a mail. Use html5 sniffing and add an optional parameter to method to specify encoding. Bastien > > - Jonas > > -- > * Jonas Smedegaard - idealist & Internet-arkitekt > * Tlf.: +45 40843136 Website: http://dr.jones.dk/ > > [x] quote me freely [ ] ask before reusing [ ] keep private
Back to linux.debian.devel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Ideas for a dh-privacy-helper "Bastien Roucariès" <roucaries.bastien@gmail.com> - 2021-09-02 18:00 +0200
Re: Ideas for a dh-privacy-helper Jonas Smedegaard <jonas@jones.dk> - 2021-09-02 18:20 +0200
Re: Ideas for a dh-privacy-helper "Bastien Roucariès" <roucaries.bastien@gmail.com> - 2021-09-02 23:50 +0200
Re: Ideas for a dh-privacy-helper Jonas Smedegaard <jonas@jones.dk> - 2021-09-03 03:10 +0200
Re: Ideas for a dh-privacy-helper Jonas Smedegaard <jonas@jones.dk> - 2021-09-04 20:10 +0200
Re: Ideas for a dh-privacy-helper Bastien ROUCARIES <roucaries.bastien@gmail.com> - 2021-09-04 20:50 +0200
Re: Ideas for a dh-privacy-helper Jonas Smedegaard <jonas@jones.dk> - 2021-09-04 23:00 +0200
Re: Ideas for a dh-privacy-helper Bastien ROUCARIES <roucaries.bastien@gmail.com> - 2021-09-05 00:00 +0200
Re: Ideas for a dh-privacy-helper Bastien ROUCARIES <roucaries.bastien@gmail.com> - 2021-09-05 00:40 +0200
Re: Ideas for a dh-privacy-helper Jonas Smedegaard <jonas@jones.dk> - 2021-09-04 23:00 +0200
Re: Ideas for a dh-privacy-helper Jonas Smedegaard <jonas@jones.dk> - 2021-09-09 00:20 +0200
Re: Ideas for a dh-privacy-helper Bastien ROUCARIES <roucaries.bastien@gmail.com> - 2021-09-04 20:10 +0200
Re: Ideas for a dh-privacy-helper Paul Wise <pabs@debian.org> - 2021-09-03 03:30 +0200
csiph-web