projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de6ed41
)
simplification
author
Joey Hess
<joey@kodama.kitenet.net>
Tue, 1 Jul 2008 17:31:03 +0000
(13:31 -0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Tue, 1 Jul 2008 17:31:03 +0000
(13:31 -0400)
IkiWiki/CGI.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/CGI.pm
b/IkiWiki/CGI.pm
index 0d010b1150d3e5c5ee94028821c05d0558ee5f73..2805534fcb67c42c8fd40ecbc9fd7672085ecd43 100644
(file)
--- 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=~/^\//) {