fix other cases of unicode mixing issue
authorJoey Hess <joey@kitenet.net>
Tue, 15 Jun 2010 21:41:26 +0000 (17:41 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 15 Jun 2010 21:41:26 +0000 (17:41 -0400)
and fix underlaydir override attack guard when srcdir is non-absolute

IkiWiki/Render.pm

index f81e373b73ad37dcdfc988f0f08a08eb2122012d..740bb52b0fc6d9ea1797a08080a273f5fb3701f6 100644 (file)
@@ -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;