[wp-trac] [WordPress Trac] #59485: Invalid username

WordPress Trac noreply at wordpress.org
Fri Sep 29 13:37:09 UTC 2023


#59485: Invalid username
--------------------------+------------------------------
 Reporter:  rinkalpagdar  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:  6.3.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by krupalpanchal):

 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59485#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list