projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59bb1f1
)
typo
author
Joey Hess
<joey@kitenet.net>
Tue, 20 Apr 2010 18:25:17 +0000
(14:25 -0400)
committer
Joey Hess
<joey@kitenet.net>
Tue, 20 Apr 2010 18:25:17 +0000
(14:25 -0400)
IkiWiki/Plugin/editpage.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/editpage.pm
b/IkiWiki/Plugin/editpage.pm
index 2130a84024b6223cfacc352e2008639b0bf2d5f4..26e38abc121ea06b53a250e5061a1227ac76099c 100644
(file)
--- a/
IkiWiki/Plugin/editpage.pm
+++ b/
IkiWiki/Plugin/editpage.pm
@@
-92,7
+92,7
@@
sub cgi_editpage ($$) {
# wiki_file_regexp.
my ($page)=$form->field('page')=~/$config{wiki_file_regexp}/;
$page=possibly_foolish_untaint($page);
- my $absolute=($page =~ s#^/+##); # absolute name used
for
force location
+ my $absolute=($page =~ s#^/+##); # absolute name used
to
force location
if (! defined $page || ! length $page ||
file_pruned($page)) {
error(gettext("bad page name"));