[wp-trac] [WordPress Trac] #57512: Warning as a part of API response
WordPress Trac
noreply at wordpress.org
Sat Feb 4 02:16:11 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):
Reviewed RFC 7617 which covers this use case.
https://www.rfc-editor.org/rfc/rfc7617
Relevant part: “ Furthermore, a user-id containing a colon character is
invalid, as the first colon in a user-pass string separates user-id and
password from one another; text after the first colon is part of the
password. User-ids containing colons cannot be encoded in user-pass
strings.”
I’ll update this patch to match this description. The change being that a
additional colons should be part of the password.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57512#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list