Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Description Add file path validation for FileSystemRegistry. This implementation validates paths provided to the registry by checking for invalid characters, ensuring URL-like paths use the `file:// protocol`, and detecting null bytes that could be used in path traversal attacks. The validation throws a clear error message when invalid paths are detected, preventing potential runtime errors or security issues. ### Backward compatibility Yes - This change is backward compatible as it only adds validation to reject invalid paths that would likely cause errors during operation anyway. Valid paths will continue to work as before. ### Testing The validation function has been manually tested with various path formats to ensure proper rejection of invalid paths and acceptance of valid ones. The implementation works correctly with existing registry functionality.
- Loading branch information