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

Wrong path normalization #3

Open
cwansart opened this issue Nov 12, 2024 · 0 comments
Open

Wrong path normalization #3

cwansart opened this issue Nov 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cwansart
Copy link
Owner

As Fabian reported there is one issue remaining:

The only difference from the Linux tool:

C:\Users\fabian.grutschus\Documents\projects\sha256sum.exe>.\x64\Release\sha256sum.exe "%cd%\tests\..\tests\CalcHashTestFile.txt"
5825c4a88eddd074eb3c12b23dedc0eb4d7d5f2356a61a4078a0bd3ccf69c7a1 *C:\Users\fabian.grutschus\Documents\projects\sha256sum.exe\tests\CalcHashTestFile.txt

Under Linux the path isn't normalized:

fabian.grutschus@NBINV0026:~$ sha256sum "$(pwd)/Downloads/../Downloads/phonenumbers-8.13.49-py2.py3-none-any.whl" 
e17140955ab3d8f9580727372ea64c5ada5327932d6021ef6fd203c3db8c8139  /home/fabian.grutschus/Downloads/../Downloads/phonenumbers-8.13.49-py2.py3-none-any.whl

I'm not sure if it's worth investing time to have the exact same behavior.

Originally posted by @fabiang in #1 (comment)

@cwansart cwansart added the enhancement New feature or request label Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant