From: ivan Date: Tue, 1 Feb 2011 11:14:08 +0000 (+0000) Subject: add username-pound config X-Git-Tag: freeside_2_1_2~85 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=cf9a54de9f60ed902f27393396ba01fc12b1b626 add username-pound config --- diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 57441e9ff..0525b979d 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -1331,7 +1331,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"