Fix arbitrary player data character injection

Fixes injection of arbitrary characters in usernames to manipulate in game player data.