-
Notifications
You must be signed in to change notification settings - Fork 111
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
Reject empty multiaddrs #104
Comments
Stebalien
added a commit
to ipfs/kubo
that referenced
this issue
May 20, 2019
These are technically valid at the moment so they aren't caught when calling `NewMultiaddr`. See multiformats/go-multiaddr#104. fixes #6354
Nothing against it. Un-marshaling is impossible to do properly because |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
These are almost always useless and can cause bugs like ipfs/kubo#6354.
However, this would break the marshaling code as that expects to be able to construct these. It also removes the base-case for a recursive multiaddr definition...
cc @hsanjuan, @lgierth thoughts?
The text was updated successfully, but these errors were encountered: