CyTube/lib/database
calzoneman c28dc0d3d2 Fix #489
Channels are occasionally plagued by trolls who confuse users by
"hijacking" names of other users in the channel.  This is accomplished
by replacing certain letters with visually similar letters (in fact,
indistinguishable in some sans-serif fonts), e.g. replacing lowercase
'l' with capital 'I'

This commit replaces capital 'I', lowercase 'l', digit '1', lowercase
'o', uppercase 'O', and digit '0' with '_' and changes the matching for
isUsernameTaken() to a LIKE query.  Since '_' is a single character
wildcard, this causes the database to treat a username with one of these
simple replacements as already registered.
2015-06-19 16:44:25 -04:00
..
accounts.js Fix #489 2015-06-19 16:44:25 -04:00
channels.js Fix for private, but embeddable soundcloud tracks 2015-01-11 12:10:09 -06:00
tables.js Change login sessions 2015-02-20 18:53:02 -06:00
update.js Add auto DB conversion for utf8mb4 2014-12-14 21:53:25 -05:00