Let's make it possible to add assets again.

This commit is contained in:
Martin Kamerbeek 2006-05-11 11:30:12 +00:00
parent 3138f403d5
commit 9d84eb204d

View file

@ -71,7 +71,7 @@ Returns a class name which has been taint checked.
sub getValueFromPost {
my $self = shift;
my $value = $self->session->form->param($self->get("name"));
$value =~ s/[^\w\d\s]//g;
$value =~ s/[^\w\d\s:]//g;
return $value;
}