diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-12-16 13:12:57 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-12-16 13:12:57 +0100 |
commit | a83ceb1791676b9d7e8659760be570895706ac2c (patch) | |
tree | 5ee5c62bde62a969cec44a28cbc756e8d4b56056 /data | |
parent | 5659e23cd8c928bd26dff16b13b0eebf89688bef (diff) |
c/user: register() prevent DB error if username is non-ascii
The DB col is set to ascii_general_ci so if the username doesn't pass
the charset check we shouldn't even bother query the db because that can
trigger a collation error (utf-8 vs ascii).
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions