]> sipb.mit.edu Git - ikiwiki.git/commitdiff
simplification
authorJoey Hess <joey@kodama.kitenet.net>
Tue, 1 Jul 2008 17:31:03 +0000 (13:31 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Tue, 1 Jul 2008 17:31:03 +0000 (13:31 -0400)
IkiWiki/CGI.pm

index 0d010b1150d3e5c5ee94028821c05d0558ee5f73..2805534fcb67c42c8fd40ecbc9fd7672085ecd43 100644 (file)
@@ -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=~/^\//) {