Skip Menu |

This queue is for tickets about the CGI-Untaint CPAN distribution.

Report information
The Basics
Id: 19740
Status: new
Priority: 0/
Queue: CGI-Untaint

People
Owner: Nobody in particular
Requestors: blavender [...] gmail.com
Cc:
AdminCc:

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



Subject: cgi::untaint documentation error
Date: Tue, 6 Jun 2006 16:07:56 +0200
To: bug-CGI-Untaint [...] rt.cpan.org
From: "Ben Lavender" <blavender [...] gmail.com>
Hi, There is an inconsistency in the cgi::untaint documentation; it's a one-word fix. In cgi::untaint, in the section on local extraction handlers: When extract() is called CGI::Untaint will also check to see if you have an is_valid() method also, and if so will run this against the value extracted from the regular expression (available as $self->value). In CGI::Untaint::Object, the documentation for $self->value: This should really have been two methods, but too many other modules now rely on the fact that this does double duty. As an accessor, this is the 'raw' value. As a mutator it's the extracted one. The documentation is correct in C:U:O, but not in C:U. The section in CGI::Untaint should say: <snip>...(available as $self->untainted). Thanks, Ben Lavender