- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 24 Jul 2007 06:08:13 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/perl/modules/W3C/LogValidator/lib/W3C In directory hutz:/tmp/cvs-serv1617/lib/W3C Modified Files: LogValidator.pm Log Message: Adding an option to allow URIs with query strings, e.g http://www.example.com/script?foo=bar Such URIs in the logs were previously ignored systematically, now will still be ignored by default, but with the configuration option ExcludeCGI 0 they will be processed as "normal" URIs. Index: LogValidator.pm =================================================================== RCS file: /sources/public/perl/modules/W3C/LogValidator/lib/W3C/LogValidator.pm,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- LogValidator.pm 17 Jul 2007 04:15:31 -0000 1.20 +++ LogValidator.pm 24 Jul 2007 06:08:10 -0000 1.21 @@ -278,7 +278,7 @@ my $tmp_record_mime_type = $self->find_mime_type($tmp_record, $logtype); my $tmp_record_HTTP_code = $self->find_HTTP_code($tmp_record, $logtype); my $tmp_record_referer = $self->find_referer($tmp_record, $logtype); - if ($self->no_cgi($tmp_record)) { + if ($self->no_cgi($tmp_record) or ($config{LogProcessor}{ExcludeCGI} eq 0)) { $self->add_uri($tmp_record_uri); $self->add_mime_type($tmp_record_uri, $tmp_record_mime_type); $self->add_HTTP_code($tmp_record_uri,$tmp_record_HTTP_code);
Received on Tuesday, 24 July 2007 06:08:17 UTC