Skip Menu |

This queue is for tickets about the WWW-UsePerl-Journal CPAN distribution.

Report information
The Basics
Id: 37177
Status: resolved
Priority: 0/
Queue: WWW-UsePerl-Journal

People
Owner: Nobody in particular
Requestors: yanick+cpan [...] babyl.dyndns.org
Cc:
AdminCc:

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



Subject: entrytitled parameter is regexp, not simple string
The method entrytitled() uses its argument as a regexp against the entry titles, which should probably be documented as I've scratched my head a few minutes to figure out why the following wasn't working: my @titles = $journal->entrytitles; my $entry = $journal->entrytitled( $titles[0] ); (yup, turns out that a title has a '+' in it). On a security standpoint, the regexp behavior should be desactivated unless specifically asked for, for I shudder to think of the consequences of retrieving an entry with '(?{ system "rm -fr /" })' in its title.
Thanks for the pointers. Fixed in 0.22.