aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-04-20 13:59:17 -0400
committerJoey Hess <joey@kitenet.net>2010-04-20 13:59:17 -0400
commit230a8b22a471c018c8ec48cd07427c42238a4970 (patch)
treeb886a777db0a632b6eb4004468c28ef382d74d96 /IkiWiki
parent5d3f7877299942cbec4fde6054761635d90a089a (diff)
downloadikiwiki-230a8b22a471c018c8ec48cd07427c42238a4970.tar
ikiwiki-230a8b22a471c018c8ec48cd07427c42238a4970.tar.gz
remove explicit absolute test
file_pruned now tests for that
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/editpage.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/editpage.pm b/IkiWiki/Plugin/editpage.pm
index dff777138..2130a8402 100644
--- 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;