caching directory with file containing `..` in name (OD-2495)
Tomas Ptacek opened 6 months ago

currently trying to cache cypress binary in our ci/cd pipeline by caching /root/.cache/Cypress directory, however it contains a file that is named _...all_-MTFgBmw1.js and when the .tar is being extracted it throws an error:

Tar entry name contains '..': 14.2.1/Cypress/resources/app/node_modules/@packages/app/dist/assets/...all-MTFgBmw1.js

Not really sure what can be done to prevent this. For now we skip caching the binary, but thats ~700MB downloads on every pipeline execution, which is meh. Does anyone have a better idea please?

issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2495
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover