mirror of
https://github.com/jekyll/jekyll.git
synced 2026-02-14 08:35:02 -05:00
test symlinkd dir, not file
Signed-off-by: Parker Moore <parkrmoore@gmail.com>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
/tmp/pages-test
|
||||
1
test/source/_includes/tmp
Symbolic link
1
test/source/_includes/tmp
Symbolic link
@@ -0,0 +1 @@
|
||||
/tmp
|
||||
@@ -372,10 +372,10 @@ CONTENT
|
||||
title: Include symlink
|
||||
---
|
||||
|
||||
{% include about.html %}
|
||||
{% include tmp/pages-test %}
|
||||
|
||||
CONTENT
|
||||
create_post(content, {'permalink' => 'pretty', 'source' => source_dir, 'destination' => dest_dir, 'read_posts' => true})
|
||||
create_post(content, {'permalink' => 'pretty', 'source' => source_dir, 'destination' => dest_dir, 'read_posts' => true, 'safe' => true })
|
||||
end
|
||||
|
||||
should "not allow symlink includes" do
|
||||
|
||||
Reference in New Issue
Block a user