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

Prawn SVG should only fetch image from URI if allow-uri-read is set #548

Closed
mojavelinux opened this issue Sep 10, 2016 · 0 comments
Closed
Assignees

Comments

@mojavelinux
Copy link
Member

Prawn SVG should be configured to honor the allow-uri-read setting. In other words, it should only be allowed to make web requests (e.g., fetch an image from a URI) if the allow-uri-read attribute is set via the Asciidoctor API or CLI.

Prawn SVG provides the option enable_web_requests for this purpose. It just needs to be wired to the state of the allow-uri-read attribute.

@mojavelinux mojavelinux added this to the v1.5.0.alpha.13 milestone Sep 10, 2016
@mojavelinux mojavelinux self-assigned this Sep 10, 2016
mojavelinux added a commit to mojavelinux/asciidoctor-pdf that referenced this issue Sep 10, 2016
fapdash pushed a commit to vogellacompany/asciidoctor-pdf that referenced this issue Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant