-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
A-dependency-resolutionArea: dependency resolution and the resolverArea: dependency resolution and the resolverA-registriesArea: registriesArea: registries
Description
UncanonicalizedIter
can generate invalid paths if the path has a dash or hyphen within the first 4 characters.
Example, my-tool
produces:
my/-t/my-tool
my/_t/my-tool
my/-t/my_tool
my/_t/my_tool
The second and third paths are invalid because the directory prefix does not match the name of the file.
I think the UncanonicalizedIter needs to iterate over the fs_name
before it has been converted to path.
Metadata
Metadata
Assignees
Labels
A-dependency-resolutionArea: dependency resolution and the resolverArea: dependency resolution and the resolverA-registriesArea: registriesArea: registries