{"action":"created","issue":{"url":"https://api.github.com/repos/jekyll/jekyll/issues/4066","labels_url":"https://api.github.com/repos/jekyll/jekyll/issues/4066/labels{/name}","comments_url":"https://api.github.com/repos/jekyll/jekyll/issues/4066/comments","events_url":"https://api.github.com/repos/jekyll/jekyll/issues/4066/events","html_url":"https://github.com/jekyll/jekyll/issues/4066","id":113652821,"number":4066,"title":"Including a symlinked file in safe mode outputs the error to the rendered document, exits 0","user":{"login":"benbalter","id":282759,"avatar_url":"https://avatars.githubusercontent.com/u/282759?v=3","gravatar_id":"","url":"https://api.github.com/users/benbalter","html_url":"https://github.com/benbalter","followers_url":"https://api.github.com/users/benbalter/followers","following_url":"https://api.github.com/users/benbalter/following{/other_user}","gists_url":"https://api.github.com/users/benbalter/gists{/gist_id}","starred_url":"https://api.github.com/users/benbalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbalter/subscriptions","organizations_url":"https://api.github.com/users/benbalter/orgs","repos_url":"https://api.github.com/users/benbalter/repos","events_url":"https://api.github.com/users/benbalter/events{/privacy}","received_events_url":"https://api.github.com/users/benbalter/received_events","type":"User","site_admin":true},"labels":[{"url":"https://api.github.com/repos/jekyll/jekyll/labels/Bug","name":"Bug","color":"d41313"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-27T18:37:18Z","updated_at":"2015-10-28T22:31:39Z","closed_at":null,"body":"## Steps to reproduce\r\n\r\n1. Create an `index.html` file with the content:\r\n  \r\n    ```\r\n    ---\r\n    ---\r\n    \r\n    {% include foo.html %}\r\n    ```\r\n\r\n2. Make `_includes/foo.html` a symlink to a file outside your source directory\r\n\r\n3. `jekyll build --safe`\r\n\r\n## Expected\r\n\r\n* Exit status > 0\r\n* Red output to STDOUT with the text `Liquid error: The included file ‘_includes/foo.html’ should exist and should not be a symlink`\r\n* `_site/index.html` should be blank\r\n\r\n## Actual\r\n\r\n* Exit status of 0 \r\n* No error output\r\n* `cat _site/index.html` returns:\r\n\r\n    ```\r\n   <p>Liquid error: The included file ‘/Users/benbalter/projects/jekyll-test/_includes/foo.html’ should exist and should not be a symlink</p>\r\n   ```\r\n\r\n(Note the full path, which we don't use elsewhere AFAIK).\r\n\r\nI believe this to be a regression from 2.x to 3.x.\r\n\r\nTo note, the symlink file is properly *not* included."},"comment":{"url":"https://api.github.com/repos/jekyll/jekyll/issues/comments/152017451","html_url":"https://github.com/jekyll/jekyll/issues/4066#issuecomment-152017451","issue_url":"https://api.github.com/repos/jekyll/jekyll/issues/4066","id":152017451,"user":{"login":"Crunch09","id":570608,"avatar_url":"https://avatars.githubusercontent.com/u/570608?v=3","gravatar_id":"","url":"https://api.github.com/users/Crunch09","html_url":"https://github.com/Crunch09","followers_url":"https://api.github.com/users/Crunch09/followers","following_url":"https://api.github.com/users/Crunch09/following{/other_user}","gists_url":"https://api.github.com/users/Crunch09/gists{/gist_id}","starred_url":"https://api.github.com/users/Crunch09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crunch09/subscriptions","organizations_url":"https://api.github.com/users/Crunch09/orgs","repos_url":"https://api.github.com/users/Crunch09/repos","events_url":"https://api.github.com/users/Crunch09/events{/privacy}","received_events_url":"https://api.github.com/users/Crunch09/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T22:31:39Z","updated_at":"2015-10-28T22:31:39Z","body":"Hey, if no one has started on this yet, i'd be happy to try a patch?"}}