[xml/sgml-pkgs] Bug#445265: sorry, probably wont fix

Olivier Berger olivier.berger at it-sudparis.eu
Mon Aug 29 16:39:31 UTC 2011


On Mon, Aug 29, 2011 at 06:17:02PM +0200, Olivier Berger wrote:
> 
> It seems that now, only http is allowed by default... however I really don't understand what's preventing from choosing the alternate option : https too and the dependency ?
> 

So just for the archives, if one changes /etc/w3c/validator.conf to have
<Protocols>
  Allow = http,https
</Protocols>
and adds libcrypt-ssleay-perl, it works.

Self-signed certs may even no longer prevent validation of the rendered HTTPS (very useful for web site development testing on VMs, etc.), provided that one adds a line like :

$ENV{'PERL_LWP_SSL_VERIFY_HOSTNAME'} = 0;

around the "Define global variables." section in /usr/lib/cgi-bin/w3c-markup-validator/check.

Of course, doing this on a production server may not be advisable... on the other hand I don't know if it matters much that the SSL certs are verified or not when one is interested in the HTML served there... YMMV.

Hope this helps.






More information about the debian-xml-sgml-pkgs mailing list