Validate object pool relative paths
Validates that object pool relative paths follow the expected directory structure and naming patterns. This prevents path traversal attacks where the caller could delete arbitrary files and directories on the host.
The diff contains the validation code itself plus some necessary changes to the test helpers to generate the test paths following the expected format of @pools/ab/ab/<abab...>.git
and @hashed/ab/ab/<abab...>.git
Closes #2418
Edited by 🤖 GitLab Bot 🤖