_casbaseddirectory.py: Validate path components

This catches incorrect use of the Directory API.

Merge request reports

Loading