I found from hard way that lemmy community urls are bit problematic. Here is the story, which contains bit NSFW material.
I was trying to figure out in Jerboa how to subscribe to community in another instance. First one that I came across, that i was not subscribed to was !hairypussy@pornlemmy. com. (I know, I know, I am a perv)
I copy pasted the community path to my android clipboard, and tried few ways in the app, and eventually gave up.
Some time passes, until I went to do some shopping. My wife and I use a shared shopping list. From this shopping list I found this beatiful community path.
My wife had a laugh, but I was worried that If she would have been bit more jelous side, she could have made a assumption from the structure of the path.
The thing is that !hairypussy @ pornlemmy. com looks like email address. This could have been misunderstood quuuite badly.
I am a coder also, so @ is sensible separator, and serves the same purpose as in email. Probably it should not change, but the structure can cause misunderstandings with some communities and lemmy instance urls. Of course here main issue is user error, and any link to some bad site can be issue, but people understand what website URL is.
Please let me know if this needs NSFW tag.
I would maybe say that c/[email protected] and u/[email protected] could be better. / is not legal character on email address, but so is of course ! in the front. c/ and u/ would make sense because that is the actual url that is fetched (c/[email protected] is located in https://instance.com/c/community), so in code just combining these two paths together would generate the actual URL. Also external communities are handled by https://homeinstance/c/[email protected], so it would make sense here also, because c/ is already part of the path.
Of course changing it at this point in time of the life cycle is probably a no-go.
Sure about that “not a legal email character” part?
https://en.m.wikipedia.org/wiki/Email_address#Local-part
Ok, it seems that I was wrong, standard seems to allow it. So both ! and / are allowed in email
Hi there! Looks like you linked to a Lemmy community using an URL instead of its name, which doesn’t work well for people on different instances. Try fixing it like this: [email protected]
but these solutions would not have saved my clumsy ass in the original case.
If instance would have been fictional furryporn.com and community is called worldnews, and I sent to my grandmother a message containing community url [email protected], it would not really matter is it in form of c/[email protected] or with !