summaryrefslogtreecommitdiff
path: root/bin/am.pl
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-21 02:56:32 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-21 02:56:32 +0000
commitd649a37823d026d9f0ac9a7c4a67ed39b17cb8b2 (patch)
tree38b65336296a479f889b6e2dd1b5ddf21f331d9e /bin/am.pl
parent342d620aef52798493c7824e642008690e34878c (diff)
Fine tuning of whitelisting checks
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@244 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin/am.pl')
-rwxr-xr-xbin/am.pl7
1 files changed, 0 insertions, 7 deletions
diff --git a/bin/am.pl b/bin/am.pl
index f0688126..ce93f3a7 100755
--- a/bin/am.pl
+++ b/bin/am.pl
@@ -1591,13 +1591,6 @@ sub list_templates {
sub display_form {
- $form->{file} =~ s/^(.:)*?\/|\.\.\///g;
- $form->{file} =~ s/^\/*//g;
- $form->{file} =~ s/$userspath//;
- $form->{file} =~ s/$memberfile//;
-
- $form->error("$!: $form->{file}") unless -f $form->{file};
-
AM->load_template(\%myconfig, \%$form);
$form->{title} = $form->{file};