Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--output-dir-mirror fails with file names containing ".." #2509

Closed
awused opened this issue Feb 24, 2021 · 0 comments
Closed

--output-dir-mirror fails with file names containing ".." #2509

awused opened this issue Feb 24, 2021 · 0 comments
Assignees
Labels

Comments

@awused
Copy link

awused commented Feb 24, 2021

Describe the bug
--output-dir-mirror fails to compress files with names containing ".."

This also applies to directories containing ".." in their names.

To Reproduce

touch a..b
zstd a..b --output-dir-mirror output

Produces the error zstd: --output-dir-mirror cannot compress 'a..b' into 'output'

Expected behavior
"a..b" is compressed as "output/a..b.zst"

Desktop (please complete the following information):

  • OS: Fedora Linux
  • Version: 1.4.7
@terrelln terrelln added the bug label Feb 24, 2021
@felixhandte felixhandte self-assigned this Feb 24, 2021
felixhandte added a commit to felixhandte/zstd that referenced this issue Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants