#24618 closed defect (bug) (fixed)
Enhancement for validate_username
Reported by: | gwinh.lopez | Owned by: | chriscct7 |
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Users | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
the validate_username returns true on an empty string which obviously is not a valid username.
Attachments (4)
Change History (13)
#1
@
12 years ago
- Component changed from Validation to Users
- Keywords has-patch added; needs-patch removed
#3
@
11 years ago
- Keywords good-first-bug added
24618.patch is a refreshed patch with proper formatting.
I'm going to write up another patch shortly that adds unit tests for this as well.
#5
@
11 years ago
- Keywords good-first-bug removed
24618-tests.patch adds some basic unit tests for validate_username()
. I'm sure there are more assertions we could make, but this is better than none at all.
Note: See
TracTickets for help on using
tickets.
I've just confirmed the bug.