Skip to content

8.3.x: Remove parent-dir references from paths provided to pipeline steps - #9735

Merged
taylorsilva merged 1 commit into
release/8.3.xfrom
8.3.x-path-parsing
Sep 25, 2026
Merged

taylorsilva merged 1 commit into
release/8.3.xfrom
8.3.x-path-parsing

Conversation

@taylorsilva

Copy link
Copy Markdown
Member

Backport of #9734

The `task`, `set_pipeline`, and `load_var` steps all take in a
user-defined file path that should point to an input volume and file on
that volume. The logic for parsing this path is consolidated into a
helper function and made more robust by handling edge cases such as:

- an absolute path is provided
- a path with parent-dir references `../` is provided

In both these cases, we remove the offending characters so we end up
with a clean relative path.

Signed-off-by: Taylor Silva <[email protected]>
@taylorsilva
taylorsilva merged commit b188e99 into release/8.3.x Sep 25, 2026
11 checks passed
@taylorsilva
taylorsilva deleted the 8.3.x-path-parsing branch September 25, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant