From 123f2046de645bb852c8e388086850154be0214b Mon Sep 17 00:00:00 2001 From: Milan Date: Sun, 6 Sep 2020 19:53:45 +0200 Subject: [PATCH] template.pm: do not expose local path config --- lib/calcms/template.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/calcms/template.pm b/lib/calcms/template.pm index 59e4151..063558b 100644 --- a/lib/calcms/template.pm +++ b/lib/calcms/template.pm @@ -27,7 +27,7 @@ sub process($$$$) { #TODO: get config for my $key ( keys %{ $config->{locations} } ) { - $params->{$key} = $config->{locations}->{$key} if ( $key =~ /\_url$/ ); + $params->{$key} = $config->{locations}->{$key} if ( $key =~ /\_url$/ && $key !~/local/); } # add current project