Closed UEWBot closed 1 year ago
So the POST in seed_games() redirected to board_call, which is the success path after creating the Games and GamePlayers. The rendering of the board_call template failed to figure out the game_details URL for the R3GA game. The terminating '/' on the board name is interesting, because that's the one character that doesn't get matched for a game_name.
I was able to reproduce this by creating a game with a '/' in the name. validate_game_name() should reject names containing '/', and the various help texts should specify that.
There are probably more characters that can’t be used as the last part of a URL. Accented characters come to mind. Maybe we should validate it as a slug or use the valid characters used by urllib.quote() - “Letters, digits, and the characters '_.-~'”