-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure double-hashes are detected and blocked correctly
Assume a double-hash could be parsed as both a b58btc string and hex string, but handle cases when that happens and it's obviously wrong: - Multihashes of type Identity - Multihashes of unknown hash functions - Hex strings of length different than 64 chars
- Loading branch information
Showing
2 changed files
with
113 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters