summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;