Open tarczynskitomek opened 2 years ago
Yeah, that is just my terrible mistake. The code is here: https://github.com/GoogleCloudPlatform/cloudbowl-microservice-game/blob/master/app/models/Data.scala#L470
I'm not quite sure why I restricted that field. But this is definitely a bug I'll fix. Thanks for reporting.
Hi @jamesward, thanks for looking into this! I think the check is a reasonable thing it's just too restrictive. What I'd suggest is e.g. [^\p{L}0-9\s]
regex - it'll match any characters other that space, numbers and any kind of letter from any language. I can create a PR if you think it's fine ;-)
I think that sounds great and would love a PR :)
Done, also signed the CLA thingy :-)
Tried joining with a user name "Tomek Tarczyński" - note the ń char, and the validation didn't allow me.
Steps to reproduce: