Skip to content

improve path traversal error msg of oras pull  #978

@qweeah

Description

@qweeah

If path of artifact blobs are absolute and needs to be pulled outside of current working directory, by default oras pull will be terminated with error like path traversal disallowed

Need to advise user action for this specific error, like Use pull with option -T/allow-path-traversal to allow path traversal

Can this be added to the error message when the pull fails with "Path travel disallowed". Use pull with option -T or --allow-path-traversal to allow path traversal.

Originally posted by @suganyas in #973 (comment)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions