simplification

master
Joey Hess 2008-07-01 13:31:03 -04:00
parent de6ed410bc
commit b4296a4943
1 changed files with 1 additions and 1 deletions

View 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=~/^\//) {