diff options
Diffstat (limited to 'IkiWiki/Plugin/polygen.pm')
-rw-r--r-- | IkiWiki/Plugin/polygen.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/polygen.pm b/IkiWiki/Plugin/polygen.pm index 2ed81c8e4..82fd575a7 100644 --- a/IkiWiki/Plugin/polygen.pm +++ b/IkiWiki/Plugin/polygen.pm @@ -25,6 +25,7 @@ sub preprocess (@) { #{{{ $grammar =~ s/\.grm$//; $grammar .= '.grm'; $symbol =~ s/[^A-Za-z0-9]//g if defined $symbol; + $symbol = IkiWiki::possibly_foolish_untaint($symbol) if defined $symbol; my $grmfile = '/usr/share/polygen/ita/polygen.grm'; if (! -d '/usr/share/polygen') { |