Check a rendered storage-lane FolderPath against its source.
A FolderPath restricts: it is what keeps a storage lane inside one folder of an account. So it is
checked like every restricting template (CheckRenderedTemplate — rendered empty, or raw
template syntax leaked through) and then as a path:
a .. segment is traversal;
for a templated source, an empty segment means an interpolation rendered nothing.
clients/{{ context.X }} with X absent renders clients/ — every client's folder. A leading
or trailing separator counts only when the source template does not have one itself.
A static (untemplated) path is the author's literal intent, so only the traversal rule applies.
Parameters
source: string
the un-rendered FolderPath from the scope row
rendered: unknown
the output of RenderScopeTemplate on the path lane
Check a rendered storage-lane
FolderPathagainst its source.A FolderPath restricts: it is what keeps a storage lane inside one folder of an account. So it is checked like every restricting template (CheckRenderedTemplate — rendered empty, or raw template syntax leaked through) and then as a path:
..segment is traversal;clients/{{ context.X }}with X absent rendersclients/— every client's folder. A leading or trailing separator counts only when the source template does not have one itself.A static (untemplated) path is the author's literal intent, so only the traversal rule applies.