Skip to content

Revise URI scheme parsing to be RFC 3986 compliant #1911

@dfawley

Description

@dfawley

https://tools.ietf.org/html/rfc3986

This includes honoring scheme:endpoint syntax and scheme://authority/endpoint parsing resulting in endpoint = "/endpoint".

Note: scheme:endpoint syntax will break all users dialing with hostname:port unless we apply the default resolver to cases where the scheme isn't registered. This could result in usability problems, however, as the error that occurs if a resolver isn't registered by mistake will be obscured, and would probably lead to RPCs just not working, as opposed to an error being returned from Dial.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions