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

Mastodon Handle is not correctly validated #175

Open
pk2061 opened this issue Jul 26, 2024 · 1 comment
Open

Mastodon Handle is not correctly validated #175

pk2061 opened this issue Jul 26, 2024 · 1 comment

Comments

@pk2061
Copy link

pk2061 commented Jul 26, 2024

Hi Folks,

In the API-Files for our Neanderfunk communities (e.g. Wülfrath) we had the problem that the provided mastodon handle is not correctly validated.
it seems that the validation checks for an url pattern which is not allowed to contain @, while the mastodon handle has two @ symbols (like @[your username]@mastodon.social).

Is it possible to adjust the validation for the mastodon handle?

Thank you very much!
Kind regards
Jan

@pk2061
Copy link
Author

pk2061 commented Jul 26, 2024

Sorry, I just learned that a url is also fine to link to a Mastodon account.
Still I guess the url would contain the @ symbol for the username?
Can you please check the validation regex anyways?
Maybe I am wrong and can’t read the stuff right. - in that case I am sorry for creating a non issue.

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

1 participant