From: Joey Hess Date: Tue, 20 Apr 2010 17:59:17 +0000 (-0400) Subject: remove explicit absolute test X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/230a8b22a471c018c8ec48cd07427c42238a4970?hp=5d3f7877299942cbec4fde6054761635d90a089a remove explicit absolute test file_pruned now tests for that --- 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;