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

Page URL incorrectly states username is when it contains a period/invalid character #786

Open
taivlam opened this issue Jun 11, 2024 · 1 comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed tolerable

Comments

@taivlam
Copy link

taivlam commented Jun 11, 2024

LinkStack version

4.8.0

Description

When selecting a username on the Sign Up page, the text field for Page URL will erroneously report that a username is taken when it actually contains an invalid character (such as period/.) on the main LinkStack instance.

Details about your system

Linux/Manjaro Unstable with Brave Browser version 1.66.115-1 on the main LinkStack instance linksta.cc.

How to reproduce

Suppose multipartusername is the desired base form of the username and is not taken.

Using a pure alphanumeric multipartusername, hyphen separators like multi-part-username, or underscore separators like multi_part_username is valid.

However, multipart.username is invalid, since periods are not allowed. However, the form reports with client-side form message that says:

That username is already taken

Possible Solution

During the sign up process, if an invalid character is used for a username, then the form should tell the user that an invalid character has been used; and also the user should be told what characters are valid in usernames.

Additional Context

No response

@JulianPrieber
Copy link
Member

With our current system this is the expected behaviour

@JulianPrieber JulianPrieber added tolerable bug Something isn't working enhancement New feature or request help wanted Extra attention is needed labels Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed tolerable
Projects
None yet
Development

No branches or pull requests

2 participants