• Tim Gross's avatar
    artifact/template: prevent file sandbox escapes · 076db2ef
    Tim Gross authored
    Ensure that the client honors the client configuration for the
    `template.disable_file_sandbox` field when validating the jobspec's
    `template.source` parameter, and not just with consul-template's own `file`
    function.
    
    Prevent interpolated `template.source`, `template.destination`, and
    `artifact.destination` fields from escaping file sandbox.
    076db2ef
template_test.go 43.48 KiB