How can I filter out profanity in base36 IDs? -


i want use base36 in web application developing... id visible users url, want filter out profanity. has solved this? or real problem?

does make sense skip numbers in database sequence?

well, rather try amass swear words possible, filter out vowels. that'll leave plenty of permutations in space. admittedly, you've cut down base 36 base 31, base 31 numbers valid base 36 numbers assuming same symbol set (a-z0-9). if bothers you, replace 5 vowels other non-magic 7-bit ascii !,@,$,% , (.

granted, may end sh1t , fck, profanity in mind of reader.

-oisin


Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -