diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-01 13:31:03 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-01 13:31:03 -0400 |
commit | b4296a49438d5cdb3dd8cfd8bb4185c909b1328b (patch) | |
tree | d4b04256a09802118d6cc3684517316a01cf6f4c /IkiWiki/CGI.pm | |
parent | de6ed410bc8edfd558a62eac4536a716027da114 (diff) | |
download | ikiwiki-b4296a49438d5cdb3dd8cfd8bb4185c909b1328b.tar ikiwiki-b4296a49438d5cdb3dd8cfd8bb4185c909b1328b.tar.gz |
simplification
Diffstat (limited to 'IkiWiki/CGI.pm')
-rw-r--r-- | IkiWiki/CGI.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index 0d010b115..2805534fc 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -305,7 +305,7 @@ sub cgi_editpage ($$) { #{{{ # This untaint is safe because titlepage removes any problematic # characters. - my ($page)=$form->field('page'); + my $page=$form->field('page'); $page=titlepage(possibly_foolish_untaint($page)); if (! defined $page || ! length $page || file_pruned($page, $config{srcdir}) || $page=~/^\//) { |