Skip Menu |

This queue is for tickets about the HTML-CGIChecker CPAN distribution.

Report information
The Basics
Id: 33246
Status: new
Priority: 0/
Queue: HTML-CGIChecker

People
Owner: Nobody in particular
Requestors: ivanw [...] benon.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: HTML checking does not work for HTTPS
Date: Thu, 14 Feb 2008 16:05:37 +1000
To: bug-HTML-CGIChecker [...] rt.cpan.org
From: Ivan Wills <ivanw [...] benon.com>
Hi, The default checking of links in HTML::CGIChecker does not actually correctly validate secure links ie the regular expression only has http not https? as it probably should. Attached is a patch to fix this problem. Ivan Wills
--- CGIChecker.pm.orig 2008-02-14 16:01:24.000000000 +1000 +++ CGIChecker.pm 2008-02-14 16:02:14.000000000 +1000 @@ -705,7 +705,7 @@ !<$1$2=$3http://$4$5!six if ($self->{'_element'} !~ m! - (http:// + (https?:// |mailto: |ftp:// |telnet://