But why do you strip the "/" in URLs? I think the serialized representation of paths always include the "/" so it would be better to append it, but to strip it.

Reply to this note

Please Login to reply.

Discussion

because i was getting reports of it not connecting to relays with it on, no idea why

Okay, I have problems as well. It seems Damus only reads a fraction of my contact list, maybe it is because of this issue. I need to investigat further.

But I would recommend to ALWAYS store the "/" at the ende of an URL, it is the correct serialized value of an URL, ommiting it is bad practice.

See the spec: https://url.spec.whatwg.org/#url-path-serializer