[support] getting the underscore to be unusable in user names
Cog Rusty
cog.rusty at gmail.com
Wed Aug 1 16:25:15 UTC 2007
Probably. I don't know if underscores would accept escaping with a
backslash (\_) in that field. You could try it.
On 8/1/07, Neil: esl-lounge.com <neil at esl-lounge.com> wrote:
> Ah! I'd been reading your previous answer trying to work out its mystic
> meaning. :-)
>
> So I can't use Access Control to prevent underscores? Looks like I'll have
> to look more closely at the other earlier responses to my question.
>
> ----- Original Message -----
> From: "Cog Rusty" <cog.rusty at gmail.com>
> To: <support at drupal.org>
> Sent: Wednesday, August 01, 2007 6:09 PM
> Subject: Re: [support] getting the underscore to be unusable in user names
>
>
> > On 8/1/07, Cog Rusty <cog.rusty at gmail.com> wrote:
> >> 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.
> >
> > Oops! I just noticed you said "every" user. Underscore is a wildcard
> > for any single character.
> > --
> > [ Drupal support list | http://lists.drupal.org/ ]
> >
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
More information about the support
mailing list