Re: Content not included - allow-uri-read & unsafe

Posted by mojavelinux on
URL: https://discuss.asciidoctor.org/Content-not-included-allow-uri-read-unsafe-tp1602p1848.html

The only way to enable uri reads is via the document options, and its disabled by default regardless of safe mode. We can revisit this level of paranoia after 1.5.0.

In your example, you would enable it by invoking:

 $ asciidoctor -a allow-uri-read sample.adoc

For reference, here's the line that controls this setting:

https://github.com/asciidoctor/asciidoctor/blob/master/lib/asciidoctor/document.rb#L231

-Dan