cockroachdb / cockroachdb/cockroach

backup: validate that all user-provided subdirs are normalized

Open
#152,521 3 comments 0 reactions 1 assignee Claimed by @kev-cao View on GitHub
A-disaster-recovery branch-master C-enhancement P-3 T-disaster-recovery target-release-25.4.0
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

As a follow up to #152475, we should validate that all subdirs provided by the user are normalized so that they always have a leading slash and no trailing slash.

For production environments, subdirs can be normalized — in test environments, we can panic/return an error.

Epic: CRDB-52076

Jira issue: CRDB-53898

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.