Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error rendering document #62

Closed
thorstenkampe opened this issue Feb 10, 2015 · 3 comments
Closed

Error rendering document #62

thorstenkampe opened this issue Feb 10, 2015 · 3 comments

Comments

@thorstenkampe
Copy link

It looks like the plugin defaults to safe mode - which prevents preview:

Error rendering asciidoctor: org.jruby.exceptions.RaiseException: (SecurityError) image /cygwin/home/thorsten/.asciidoc/images is outside of jail: /mnt/hgfs/drive-f/cygwin/home/thorsten/.asciidoc/doc (disallowed in safe mode)
@bodiam
Copy link
Contributor

bodiam commented Feb 10, 2015

Some steps to reproduce would be nice if you want this fixed.

@thorstenkampe
Copy link
Author

:imagesdir: /path/outside/safe_mode_jail
:data-uri:
image::image.jpg[]

@bodiam
Copy link
Contributor

bodiam commented Feb 10, 2015

Thanks for the snippet. I was able to reproduce and fix it, and I'll make sure it's in the next release.

@bodiam bodiam closed this as completed Feb 10, 2015
bodiam added a commit to bodiam/asciidoctor-intellij-plugin that referenced this issue Feb 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants