From: ivan Date: Thu, 5 Sep 2002 13:01:03 +0000 (+0000) Subject: show illegal dir in error msg X-Git-Tag: freeside_1_4_1beta1~13 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=9a665a351155da6130b0669dbd99f28a40bc5bc5;p=freeside.git show illegal dir in error msg --- diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 6fe26c8d5..e62cdd7bb 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -708,7 +708,7 @@ sub check { $recref->{dir} =~ /^([\/\w\-\.\&]*)$/ - or return "Illegal directory"; + or return "Illegal directory: ". $recref->{dir}; $recref->{dir} = $1; return "Illegal directory" if $recref->{dir} =~ /(^|\/)\.+(\/|$)/; #no .. component