From: ivan Date: Tue, 1 Feb 2011 01:29:08 +0000 (+0000) Subject: allow colons in directories X-Git-Tag: freeside_2_3_0~659 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=90f61f8a55ceb6fb122c2dde4d6a1aab6976b909 allow colons in directories --- diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index ac336b8f6..528c30b52 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -1326,7 +1326,7 @@ sub check { unless ( $part_svc->part_svc_column('dir')->columnflag eq 'F' ) { - $recref->{dir} =~ /^([\/\w\-\.\&]*)$/ + $recref->{dir} =~ /^([\/\w\-\.\&\:]*)$/ or return "Illegal directory: ". $recref->{dir}; $recref->{dir} = $1; return "Illegal directory"