[support] getting the underscore to be unusable in user names

Cog Rusty cog.rusty at gmail.com
Wed Aug 1 15:54:44 UTC 2007


On 8/1/07, Neil: esl-lounge.com <neil at esl-lounge.com> wrote:
> I found a post on drupal.org that said you could do all of this via Access
> Rules.
>
> http://drupal.org/node/29694
>
> So I went there and entered the following three rules to outlaw underscores
>
> _% - deny/username
> %_ - deny/username
> %_% - deny/username
>
> .....and found myself and every other username blocked from the site, unable
> to log in without getting a "this username has been reserved" error message.
> Totally frozen out of the site, I had to go into phpmyadmin and get rid of
> those three entries from the "access" table. Have I ignored something
> glaringly obvious with those deny rules?


You probably know by now. Those rules for forbidding access can do
what you want but that is just a bonus. Their main function is to
forbid access to anyone with such a username. Good idea for a new site
though.


More information about the support mailing list