bynk.embed.unsafe_path
Error An embed path is empty, absolute, or contains a .. segment.
An embed's path is joined onto the project root to find the file, so it must stay inside the project: it may not be empty or absolute, and it may not contain a .. segment, which could climb out of it. Write the path relative to the project root, inside embeds/. A relative path that is only outside embeds/ is bynk.embed.outside_embeds_dir.
Example
embed shell = "embeds/../page.html" // ✗ a `..` segment
embed shell = "embeds/page.html" // ✓In the Book
See also
- Every code in its category, Embedded text, on the diagnostic index.
bynk explain bynk.embed.unsafe_pathshows the same from the installed toolchain, without a network.