From 9d84eb204d73cba7427f8302d91bb0e26487ce54 Mon Sep 17 00:00:00 2001 From: Martin Kamerbeek Date: Thu, 11 May 2006 11:30:12 +0000 Subject: [PATCH] Let's make it possible to add assets again. --- lib/WebGUI/Form/ClassName.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Form/ClassName.pm b/lib/WebGUI/Form/ClassName.pm index c6f018499..73fb31bca 100644 --- a/lib/WebGUI/Form/ClassName.pm +++ b/lib/WebGUI/Form/ClassName.pm @@ -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; }