{"action":"opened","issue":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/2592","repository_url":"https://api.github.com/repos/asciidoctor/asciidoctor","labels_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/2592/labels{/name}","comments_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/2592/comments","events_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/2592/events","html_url":"https://github.com/asciidoctor/asciidoctor/issues/2592","id":302062903,"number":2592,"title":"Allow value of base_dir option (or docdir) to be a URI","user":{"login":"mojavelinux","id":79351,"avatar_url":"https://avatars2.githubusercontent.com/u/79351?v=4","gravatar_id":"","url":"https://api.github.com/users/mojavelinux","html_url":"https://github.com/mojavelinux","followers_url":"https://api.github.com/users/mojavelinux/followers","following_url":"https://api.github.com/users/mojavelinux/following{/other_user}","gists_url":"https://api.github.com/users/mojavelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/mojavelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojavelinux/subscriptions","organizations_url":"https://api.github.com/users/mojavelinux/orgs","repos_url":"https://api.github.com/users/mojavelinux/repos","events_url":"https://api.github.com/users/mojavelinux/events{/privacy}","received_events_url":"https://api.github.com/users/mojavelinux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-04T06:56:26Z","updated_at":"2018-03-04T06:56:26Z","closed_at":null,"author_association":"OWNER","body":"While the base_dir option was originally designed to be the starting point for system references on the local filesystem, there are cases when it should be allowed to be a URI. One such example is when the document source is a string that is the contents of a URI. In this case, references such as includes should be resolved from the URI instead of from a path on the local filesystem. This use case comes up in the browser extensions, which may begin by processing a remote document.\r\n\r\nThere are a few places were we assume the base_dir option is a local directory. However, the Reader class is already URI-aware, so we just need a broader alignment."}}
{"actor":{"display_login":"mojavelinux"}}