#24618 closed defect (bug) (fixed)
Enhancement for validate_username
| Reported by: | gwinh.lopez | Owned by: | chriscct7 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | Users | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
the validate_username returns true on an empty string which obviously is not a valid username.
Attachments (4)
Change History (13)
#3
@
12 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
@
12 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I've just confirmed the bug.