Skip to content

Conversation

@Debilski
Copy link
Member

@Debilski Debilski commented Nov 6, 2025

Closes #929, closes #943

Still needs some further test repairs and there needs to be some further validation/sanitising in the backend; currently it is just applied in pelita-player.

@Debilski Debilski force-pushed the feature/invalid-team-name branch 3 times, most recently from 24f2acc to 28131c7 Compare November 20, 2025 09:47
@Debilski Debilski force-pushed the feature/invalid-team-name branch from b965d46 to d521951 Compare November 20, 2025 16:26
@Debilski Debilski marked this pull request as ready for review November 20, 2025 16:28
@Debilski Debilski marked this pull request as draft November 20, 2025 16:34
@Debilski
Copy link
Member Author

Still undecided on:

What if TEAM_NAME is not specified at all?

What if TEAM_NAME is not a string.

Everything else gets truncated to ASCII, whitespace removed (and if it is an empty string it becomes "???").

There is no further validation in the backend currently meaning a non-pelita_player user could use basically any string. Fixing this should be a separate 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

Successfully merging this pull request may close these issues.

Add pytest fixture to remove demo bots from sys.modules after use Silently repair team names

1 participant