Primal adds trailing / to relays (so do some web clients).

I don’t see why it should be any issue on Damus, but it is.

Reply to this note

Please Login to reply.

Discussion

And always has been! πŸ€·β€β™‚οΈ

Yes, we’ve had one or probably more issues with relays, slashes

https://github.com/damus-io/damus/issues/1877

Thanks for the feedback

Glad I can still use #nostr

Damus relay back with 4G wasn’t showing on WI-FI

a rule of URLs: sanitize them

like all user input, you can't trust it

make it into canonical form for the specific use never ever use any value from outside your code without making it clean and canonical

sql injections only worked because of lack of this processing

πŸ“