validate username for max chars
|Reported by:||coldtrick||Owned by:|
Description (last modified by brettp)
Currently the username column has a 128 char limit. This should be enforced in validate_username. Currently a very long username is accepted, but will be truncated when inserting into the database. It will thus NOT be the expected username.
I would suggest an extra check in the validate_username to limit the username length to 128 characters.
Change History (6)
comment:1 Changed 14 months ago by brettp
- Description modified (diff)
- Difficulty set to trivial
- Milestone changed from Needs Review to Elgg 1.8.5
comment:3 Changed 12 months ago by Jerome Bakker
- Resolution set to fixed
- Status changed from new to closed