]> git.cworth.org Git - lmno-server/commitdiff
lmno: Be forgiving in game ID values received from the user
authorCarl Worth <cworth@cworth.org>
Wed, 20 May 2020 02:10:27 +0000 (19:10 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 20 May 2020 02:10:27 +0000 (19:10 -0700)
Most significantly, we now accept a lowercase version of the ID.

But also, game ID values are intentionally chosen not to have
ambiguous character in them, (such as "M"/"N" or "S"/"F"), which might
sound similar when someone says a game ID aloud. So on the input side
we accept either form and canonicalize to the only letter which can
possibly exist in a game ID.


No differences found