[wp-trac] [WordPress Trac] #57512: Warning as a part of API response

WordPress Trac noreply at wordpress.org
Sat Feb 4 14:14:48 UTC 2023


#57512: Warning as a part of API response
-------------------------------------------------+-------------------------
 Reporter:  kalpeshh                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  REST API                             |     Version:  6.1.1
 Severity:  normal                               |  Resolution:
 Keywords:  2nd-opinion php8 has-unit-tests      |     Focuses:  rest-api
  has-patch                                      |
-------------------------------------------------+-------------------------

Comment (by shooper):

 Updated the patch to match the specs of RFC 7617.

 It now handles the case properly where a password contains a colon, which
 my original patch broke.  @jrf Thanks for the tip about the $limit arg.
 I'd misunderstood how that works, it was exactly what we needed.

 It also handles gracefully the case of a token with only a username and no
 password, which was the original problem.

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


More information about the wp-trac mailing list