Skip to content
New issue

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

sanitize_filepath: "./" is unnecessarily modified when platform="Linux" #13

Closed
MagnetoOptical opened this issue May 2, 2020 · 1 comment
Assignees
Labels

Comments

@MagnetoOptical
Copy link

If you pass ./whatever/path to sanitize_filepath, "./" is changed to "._/"

Since "./" != "._/" on any platform this will cause code using pathvalidate to throw an exception down the line.

@MagnetoOptical MagnetoOptical changed the title sanitize_filepath: "./" is unnecesarily modified when platform="Linux" sanitize_filepath: "./" is unnecessarily modified when platform="Linux" May 2, 2020
@thombashi thombashi self-assigned this May 3, 2020
@thombashi thombashi added the bug label May 3, 2020
@thombashi
Copy link
Owner

@ProfElectric
Thank you for your report.

I had fixed the issue at pathvalidate 2.3.0.
Please try to upgrade the package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants