From: Joey Hess Date: Tue, 15 Jun 2010 21:41:26 +0000 (-0400) Subject: fix other cases of unicode mixing issue X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/a2989598884807ace2a9efd248b7c32824cf6c6f?hp=86a43aefb4f4c79a2044caf847622d0a00cd5356 fix other cases of unicode mixing issue and fix underlaydir override attack guard when srcdir is non-absolute --- diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index f81e373b7..740bb52b0 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -300,7 +300,6 @@ sub find_src_files () { my ($page, $underlay); my $helper=sub { my $file=decode_utf8($_); - return if -l $file || -d _; $file=~s/^\.\///; return if ! length $file;