Closed comanche closed 3 years ago
The following two conditions will stop DirHash from executing further:
-sum
%20S
Steps to recreate.
Create a folder called a
a
Create these files with random content:
a.txt
b%20S.txt
c.txt
Hash the directory
dirhash.exe D:\a blake3 -sum
You'll get an output like the following:
... FE10E1CCC1A5AC0364F136ED545D86749F2503DBF384FACF4D5826BE7AD4B790 D:\a\a.txt C0948545CB92369893D57F63B1AAE4F2DE0AD3A1CBF7332F6F6B8ACBFA6E6EBE D:\a\b
You'll notice the following:
D:\a\b%20S.txt
D:\a\b
Thank you for discovering this bug. I have fixed it and I have released version 1.19 that includes the fix. I will close this issue. Don't hesitate to reopen if you encounter it again.
The following two conditions will stop DirHash from executing further:
-sum
option%20S
in filenameSteps to recreate.
Create a folder called
a
Create these files with random content:
a.txt
b%20S.txt
c.txt
Hash the directory
You'll get an output like the following:
You'll notice the following:
D:\a\b%20S.txt
instead ofD:\a\b
c.txt