summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-12-16 13:12:57 +0100
committerFlorian Pritz <bluewind@xinu.at>2012-12-16 13:12:57 +0100
commita83ceb1791676b9d7e8659760be570895706ac2c (patch)
tree5ee5c62bde62a969cec44a28cbc756e8d4b56056 /data
parent5659e23cd8c928bd26dff16b13b0eebf89688bef (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