We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UncanonicalizedIter can generate invalid paths if the path has a dash or hyphen within the first 4 characters.
UncanonicalizedIter
Example, my-tool produces:
my-tool
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.
fs_name
The text was updated successfully, but these errors were encountered:
41f7888
ehuss
Successfully merging a pull request may close this issue.
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.The text was updated successfully, but these errors were encountered: