Skip to content

fix: add GameNames to IsReservedName checks#42

Open
threebeats wants to merge 1 commit into
profullstack:mainfrom
threebeats:fix/reserve-game-names-signup
Open

fix: add GameNames to IsReservedName checks#42
threebeats wants to merge 1 commit into
profullstack:mainfrom
threebeats:fix/reserve-game-names-signup

Conversation

@threebeats

Copy link
Copy Markdown
Contributor

Fixes #40

GameNames ("game", "games") are reserved SSH route usernames for AgentGames, but IsReservedName did not check them. This meant SanitizeUsername would accept "game" or "games" as member account names, creating route collisions with ssh game@host.

Change: Added GameNames check to the IsReservedName function.

GameNames ("game", "games") are reserved SSH route usernames for
AgentGames but IsReservedName did not check GameNames, allowing
members to register accounts that collide with SSH routes.

Fixes profullstack#40
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.

Reserve AgentGames SSH route usernames during signup

2 participants