Security Advisories (1)
CPANSA-Valiant-2024-001

closed potential security issue with deeply nested paramters in the DBIC glue code. This was a hack that could let someone create a child record if you were allowing find_by_unique rather than find by primary key.

NAME

Valiant::Filter::Title - title case a string

SYNOPSIS

package Local::Test::User;

use Moo;
use Valiant::Filters;

has 'name' => (is=>'ro', required=>1);

filters name => (
  title => 1,
);

my $user = Local::Test::User->new(name=>'john napiorkowski');

print $user->name; # 'John Napiorkowski'

DESCRIPTION

This is a very simple filter that takes no paramters and just does title case (that is the first letter of each word becomes upper case) on the value of the attribute.

SEE ALSO

Valiant, Valiant::Filter, Valiant::Validator::Filter.

AUTHOR

See Valiant

COPYRIGHT & LICENSE

See Valiant