projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
535b262
)
show illegal dir in error msg
author
ivan
<ivan>
Thu, 5 Sep 2002 13:01:03 +0000
(13:01 +0000)
committer
ivan
<ivan>
Thu, 5 Sep 2002 13:01:03 +0000
(13:01 +0000)
FS/FS/svc_acct.pm
patch
|
blob
|
history
diff --git
a/FS/FS/svc_acct.pm
b/FS/FS/svc_acct.pm
index
6fe26c8
..
e62cdd7
100644
(file)
--- 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