Specify and check maximum badge label length
opened this issue · comments
Currently uses a VCHAR:255 but this will need to be adjusted to the length that fits the game UI.
This is now badge_title
in table openra_badges
.
Length should be checked on 'save' before the insert/update query runs, https://github.com/lawando/OpenRAUserAccounts/blob/master/acp/badges_module.php#L79.
All badge data will be inserted by the board admin which allows to relinquish input validation. This is in the foreseeable future not within the scope of development so closing for now.