test symlinkd dir, not file
Signed-off-by: Parker Moore <parkrmoore@gmail.com>
This commit is contained in:
parent
323d14845f
commit
4e318cd192
|
@ -1 +0,0 @@
|
||||||
/tmp/pages-test
|
|
|
@ -0,0 +1 @@
|
||||||
|
/tmp
|
|
@ -372,10 +372,10 @@ CONTENT
|
||||||
title: Include symlink
|
title: Include symlink
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include about.html %}
|
{% include tmp/pages-test %}
|
||||||
|
|
||||||
CONTENT
|
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
|
end
|
||||||
|
|
||||||
should "not allow symlink includes" do
|
should "not allow symlink includes" do
|
||||||
|
|
Loading…
Reference in New Issue