]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Setup/Standard.pm
add news item for ikiwiki 1.26
[git.ikiwiki.info.git] / IkiWiki / Setup / Standard.pm
index b76c87b8e9ccf4b17c83c8e32dd88821e98016d6..b7583097daf84851b0ebc43900ae941e79677695 100644 (file)
@@ -55,6 +55,11 @@ sub setup_standard {
                        elsif (ref $setup{$c} eq 'ARRAY') {
                                $config{$c}=[map { possibly_foolish_untaint($_) } @{$setup{$c}}]
                        }
+                       elsif (ref $setup{$c} eq 'HASH') {
+                               foreach my $key (keys %{$setup{$c}}) {
+                                       $config{$c}{$key}=possibly_foolish_untaint($setup{$c}{$key});
+                               }
+                       }
                }
                else {
                        $config{$c}=undef;