Skip to content

Omit escaping paths when copying IFS objects - #2819

Merged
sebjulliand merged 1 commit into
codefori:masterfrom
chrjorgensen:fix/copy-file-with-blanks
Jul 30, 2025
Merged

Omit escaping paths when copying IFS objects#2819
sebjulliand merged 1 commit into
codefori:masterfrom
chrjorgensen:fix/copy-file-with-blanks

Conversation

@chrjorgensen

Copy link
Copy Markdown
Contributor

Changes

The change to copying IFS objects using the COPY command did not take into account, that the paths were being escaped for shell copy. This caused an error when copying files containing blanks:

image

This PR will fix that by only escaping the path when testing the target for directory - which is still done in shell, by the cd command.

image

How to test this PR

Example:

  1. Copy a streamfile containing blank(s) in the filename. The copy should succeed.

Checklist

  • have tested my change

@chrjorgensen
chrjorgensen temporarily deployed to testing_environment July 29, 2025 18:37 — with GitHub Actions Inactive
@chrjorgensen chrjorgensen added the bug A confirmed issue when something isn't working as intended label Jul 29, 2025

@sebjulliand sebjulliand left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and works as advertised. Thanks @chrjorgensen !

@sebjulliand
sebjulliand merged commit 467c78d into codefori:master Jul 30, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug A confirmed issue when something isn't working as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants