[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Usertools-bugs] Bug in userrevert
From: |
Steve Barrus |
Subject: |
Re: [Usertools-bugs] Bug in userrevert |
Date: |
Tue, 21 Mar 2006 10:15:18 -0700 |
User-agent: |
Mutt/1.4.1i |
I guess username can be all digits. Hmm... I don't know how to get
around that one. Maybe we shouldn't allow reverting by uid or we
could add an extra flag or something.
-Steve
On Mon, Mar 20, 2006 at 09:43:43PM -0700, Spencer H Visick wrote:
> Steve Barrus on Fri, Mar 17, 2006 at 04:54:21PM -0700 wrote:
> > UserTools was written by a bunch of sloppy crack-heads. Look at line
> > 49 in userrevert.
> >
> > if ($uid =~ /\d/) {
> >
> > This should be
> >
> > if ($uid =~ /^\d+$/) {
> >
> > Can't usernames have numbers in them?
>
> I think that was all me, chief. I think I was hitting the pipe.
> After all, my username is dick4.
>
> Now the question is, are usernames allowed to consist of only digits?
>
> --
> Spencer
>
>
> _______________________________________________
> Usertools-bugs mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/usertools-bugs