I'd like to see Nostr clients intelligently ignoring the trailing "/" at the end of relay urls.

This way, we don't have cases where a user has "wss://relay.damus.io" but their client has "wss://relay.damus.io/" in the recommended relays list, and therefore thinks you don't have the damus relay added and recommends it to you.

Reply to this note

Please Login to reply.

Discussion

Hah, I just noticed this was a problem in Nos today. I won’t treat the slash and unslashed versions as separate relays now, but I think if you edit your relay list it will add trailing slashes to all of them 😛