projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d3f787
)
remove explicit absolute test
author
Joey Hess
<joey@kitenet.net>
Tue, 20 Apr 2010 17:59:17 +0000
(13:59 -0400)
committer
Joey Hess
<joey@kitenet.net>
Tue, 20 Apr 2010 17:59:17 +0000
(13:59 -0400)
file_pruned now tests for that
IkiWiki/Plugin/editpage.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/editpage.pm
b/IkiWiki/Plugin/editpage.pm
index dff7771381ddca5d9392d50bae81356c61fd5805..2130a84024b6223cfacc352e2008639b0bf2d5f4 100644
(file)
--- a/
IkiWiki/Plugin/editpage.pm
+++ b/
IkiWiki/Plugin/editpage.pm
@@
-221,7
+221,6
@@
sub cgi_editpage ($$) {
if (! defined $from || ! length $from ||
$from ne $form->field('from') ||
file_pruned($from) ||
- $from=~/^\// ||
$absolute ||
$form->submitted) {
@page_locs=$best_loc=$page;