diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-29 22:09:16 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-29 22:09:16 +0000 |
commit | fe5c48f3a002df1867d045b3767900f83817038a (patch) | |
tree | c76db6dabcf4eecdb1a3c7ff1e3d59135c59b531 | |
parent | a04c959af5a8ea38b3b00a4e698e4e36aae79795 (diff) | |
download | ikiwiki-fe5c48f3a002df1867d045b3767900f83817038a.tar ikiwiki-fe5c48f3a002df1867d045b3767900f83817038a.tar.gz |
fix taint issue
-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') { |