projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d8a15b
)
Fix directory check
author
Jamie Cameron
<jcameron@webmin.com>
Wed, 4 Nov 2009 01:00:49 +0000
(17:00 -0800)
committer
Jamie Cameron
<jcameron@webmin.com>
Wed, 4 Nov 2009 01:00:49 +0000
(17:00 -0800)
postfix/postfix-lib.pl
patch
|
blob
|
history
diff --git
a/postfix/postfix-lib.pl
b/postfix/postfix-lib.pl
index
98fbe76
..
27f5f9f
100755
(executable)
--- a/
postfix/postfix-lib.pl
+++ b/
postfix/postfix-lib.pl
@@
-839,7
+839,7
@@
sub generate_map_edit
# Make sure the user is allowed to edit them
foreach my $f (&get_maps_types_files(&get_current_value($_[0]))) {
if (&file_map_type($f->[0])) {
- &is_under_directory($access{'dir'}, $f) ||
+ &is_under_directory($access{'dir'}, $f
->[1]
) ||
&error(&text('mapping_ecannot', $access{'dir'}));
}
}