Skip to content

validateSnapshotLocation doesn't properly validate tilde path #4821

@e-gineer

Description

@e-gineer

Description

Non-existent tilde paths may pass validation when they shouldn't.

Severity

LOW - Input validation gap

Test Reference

Test: TestValidateSnapshotLocation_TildePath in pkg/cmdconfig/validate_test.go:290 (now failing)

Related Code

  • pkg/cmdconfig/validate.go:54-84

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions