Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forbid @ in usernames #1587

Closed
xaur opened this issue Nov 24, 2021 · 2 comments
Closed

Forbid @ in usernames #1587

xaur opened this issue Nov 24, 2021 · 2 comments

Comments

@xaur
Copy link

xaur commented Nov 24, 2021

I have not analyzed all pros/cons but intuitively I'm pretty sure it's better to forbid @.

At the very least, to support @mentions in the future without confusing @@username cases.

pi-usernames

Might be part of #1479

@xaur
Copy link
Author

xaur commented Nov 24, 2021

Expanding this a bit, maybe also forbid leading underscore _. Not sure about trailing _ yet. Should be ok in the middle. Reason - URLs like this mess up our Markdown far too often in documents and our Matrix chats (sorry Checkmate):

https://twitter.com/_Checkmatey_

Fewer tools for impostors is good, too.

This is a handy recap of Twitter username policy to borrow from. I guess some restrictions are already implemented in Pi but just in case:

  • 15 characters max
  • only alphanumeric and underscore
  • interesting bit, some words are reserved like Admin or Twitter (admin or politeia in our case, maybe more)

@lukebp
Copy link
Member

lukebp commented Nov 24, 2021

This is already documented and being taken care of. We don't need a separate issue for it.

#1479 (comment)

@lukebp lukebp closed this as completed Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants