Include directive support matrix
This document describes how the include directive is resolved in the following environments:
-
Browser (XMLHttpRequest IO module)
-
Node.js
-
Ruby (MRI)
File / Message | Base dir | Browser | Node.js | Ruby |
---|---|---|---|---|
|
|
๐ |
๐ |
โ |
Ruby: The resolved path is /root/file:/root/path/to/file.adoc. |
||||
|
|
๐ |
๐ |
โ |
Ruby: The resolved path is /root/file:/root/path/to/file.adoc. |
||||
|
๐ |
๐ |
โ |
|
Ruby: include uri not readable: file:///root/path/to/file.adoc. |
||||
|
๐ |
๐ |
โ |
|
Ruby: include uri not readable: file:///root/path/../path/to/file.adoc. |
||||
|
โ |
๐ |
๐ |
|
Browser: Unable to get the current directory in a reliable way. |
||||
|
|
๐ |
๐ |
โ |
Ruby: include uri not readable: file:///root/path/to/file.adoc. |
||||
|
|
๐ |
๐ |
๐ |
Not applicable |
||||
|
๐ |
๐ |
๐ |
|
Not applicable |
||||
|
|
๐ |
โ |
โ |
Node.js: SecurityError: Jail is not an absolute path: https://raw.com/master |
||||
|
|
๐ |
โ |
โ |
Node.js: SecurityError: Jail is not an absolute path: https://raw.com/master |
||||
|
๐ |
โ |
๐ |
|
Node.js: The xmlhttprequest module does not expand path and therefore returns a 404. |