simplification
parent
de6ed410bc
commit
b4296a4943
|
@ -305,7 +305,7 @@ sub cgi_editpage ($$) { #{{{
|
||||||
|
|
||||||
# This untaint is safe because titlepage removes any problematic
|
# This untaint is safe because titlepage removes any problematic
|
||||||
# characters.
|
# characters.
|
||||||
my ($page)=$form->field('page');
|
my $page=$form->field('page');
|
||||||
$page=titlepage(possibly_foolish_untaint($page));
|
$page=titlepage(possibly_foolish_untaint($page));
|
||||||
if (! defined $page || ! length $page ||
|
if (! defined $page || ! length $page ||
|
||||||
file_pruned($page, $config{srcdir}) || $page=~/^\//) {
|
file_pruned($page, $config{srcdir}) || $page=~/^\//) {
|
||||||
|
|
Loading…
Reference in New Issue