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

Warn user when URI has a path component #47

Open
Hugo-Trentesaux opened this issue Apr 23, 2024 · 0 comments
Open

Warn user when URI has a path component #47

Hugo-Trentesaux opened this issue Apr 23, 2024 · 0 comments

Comments

@Hugo-Trentesaux
Copy link

I did some simple test to understand better multiaddr format:

> uriToMultiaddr('wss://example.com:443/foo')
Multiaddr(/dns4/example.com/tcp/443/wss)

It is ignoring silently the foo component of the URI. It would be nice to throw an error or at least warn the user that it is ignored.

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

No branches or pull requests

1 participant