allow a '!' in the filter
git-svn-id: file:///home/svn/framework3/trunk@13209 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
764bb36f44
commit
8f82a29638
|
@ -140,7 +140,7 @@ private
|
|||
def filter_input(string)
|
||||
return "" unless string
|
||||
|
||||
if !(string =~ /^[\w\s\[\]\{\}\/\\\.\-\"\(\):]*$/)
|
||||
if !(string =~ /^[\w\s\[\]\{\}\/\\\.\-\"\(\):!]*$/)
|
||||
raise "WARNING! Invalid character in: #{string}"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue