Opened 12 months ago
Last modified 12 months ago
#59485 new defect (bug)
Invalid username
Reported by: | rinkalpagdar | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.3.1 |
Component: | Users | Keywords: | has-patch |
Focuses: | Cc: |
Description
Steps to reproduce this issue in the latest WordPress.
=>Go to WordPress admin
=>Register new user with username dot "."
=>It will create a user with username dot and blank user_nicename
I have provide solution here.
Thanks!!
Attachments (1)
Note: See
TracTickets for help on using
tickets.
Hi There
Welcome to Core Trac.
Nice catch on this issue. But with your patch, it looks like
sanitize_title
is not enough to validate the username. Also, we should keep the username length within some range.For now, there is a validation of username length of more than 60. Let's see other developer's suggestions to improve this.