Merge pull request #801 from badonyx/65-normalize-uri

65: Normalize relay URIs
This commit is contained in:
mattn 2023-10-07 13:57:35 +09:00 committed by GitHub
commit acbdacb625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
65.md
View File

@ -60,4 +60,4 @@ This NIP allows Clients to connect directly with the most up-to-date relay set f
5. If a relay signals support for this NIP in their [NIP-11](11.md) document that means they're willing to accept kind 10002 events from a broad range of users, not only their paying customers or whitelisted group.
6. Clients SHOULD trim trailing slashes (`/`) from relay URIs to canonicalize connections.
6. Clients SHOULD deduplicate connections by normalizing relay URIs according to [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986#section-6).