This queue is for tickets about the Linux-usermod CPAN distribution.

Report information
The Basics
Id:
12340
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
husseinp [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
0.69
Fixed in:
(no value)



Subject: check for invalid usernames
Hello, There is a line (315 I think): croak "wrong username" unless /^([A-Z]|[a-z]){1}¥w{0,254}/; This ensures that usernames cannot start with a number. I'm not aware of any such restriction (there may be, in which case just let me know), so I'd propose changing that line to: croak "wrong username" unless /^([A-Z]|[a-z]|(0-9){1}¥w{0,254}/; Thanks --hussein
From: husseinp@gmail.com
Show quoted text
> croak "wrong username" unless /^([A-Z]|[a-z]){1}¥w{0,254}/;
That should read: croak "wrong username" unless /^([A-Z]|[a-z]){1}\w{0,254}/; sorry.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.