magic-wormhole / magic-wormhole-protocols

The documentation of the protocols powering Magic Wormhole
MIT License
26 stars 12 forks source link

Clarify percent-encoding used in URI spec #27

Closed felinira closed 2 years ago

felinira commented 2 years ago

Clarify the use of percent encoding used in the host and query parts of the URI.

This clarification ensures full compatibility with the URL standard. Any URL that is not one of the "special" ones (ftp, file, http, https, ws, wss) are supposed to use percent encoding with the C0 character set for the host and path components.

meejah commented 2 years ago

This is relatively minor and completely in line with prior discussion so I think merging this is fine .. but if others have comments or further clarifications please re-open and/or comment.