diff options
author | ivan <ivan> | 2011-02-01 01:29:10 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-02-01 01:29:10 +0000 |
commit | 3d03c984ad92dcc7b49395236db8324a134e0583 (patch) | |
tree | 0c678be605bf964420d0d8b89d70c7cd75102870 /FS | |
parent | 5b68f9aaee37dda6f61bb980fe8f6d5b91bc1542 (diff) |
allow colons in directories
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/svc_acct.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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" |