Skip to content

Comments

trim spaces from usernames and related nebula info#333

Merged
Shivansps merged 1 commit intoKnossosNET:mainfrom
Goober5000:trim_spaces
Aug 24, 2025
Merged

trim spaces from usernames and related nebula info#333
Shivansps merged 1 commit intoKnossosNET:mainfrom
Goober5000:trim_spaces

Conversation

@Goober5000
Copy link
Contributor

Usernames with extra spaces will show up as unrecognized, both in login and when adding members to a mod, so this is an attempt to properly handle that situation.

This may not be exhaustive. I think this covers the relevant use cases, but not 100% certain.

Usernames with extra spaces will show up as unrecognized, both in login and when adding members to a mod, so this is an attempt to properly handle that situation.
Copy link
Member

@Shivansps Shivansps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks correct to me. We are sure Nebula does not have usernames with spaces stored in the db?

@Goober5000
Copy link
Contributor Author

I very much doubt it. If they do, the names would likely cause problems elsewhere.

@Shivansps Shivansps merged commit a429ee4 into KnossosNET:main Aug 24, 2025
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

Successfully merging this pull request may close these issues.

2 participants