Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#51595 closed defect (bug) (fixed)

Unable to make anonymous comments via XML-RPC

Reported by: peterwilsoncc's profile peterwilsoncc Owned by: peterwilsoncc's profile peterwilsoncc
Milestone: 5.5.2 Priority: normal
Severity: normal Version: 5.5
Component: XML-RPC Keywords: has-patch has-unit-tests
Focuses: Cc:

Description

The anonymous commenting flow for XML-RPC includes strlen( $comment['comment_author_email'] < 6 ) rather than the intended strlen( $comment['comment_author_email'] ) < 6

This prevents comments been accepted unless the author email a low numeric value.

Introduced in [47808] for WordPress 5.5

Change History (5)

This ticket was mentioned in PR #644 on WordPress/wordpress-develop by peterwilsoncc.


4 years ago
#1

  • Keywords has-patch has-unit-tests added

#2 @peterwilsoncc
4 years ago

  • Milestone changed from 5.6 to 5.5.2

Moving to 5.5.2 as this was introduced in the 5.5 cycle.

#4 @peterwilsoncc
4 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 49271:

XML-RPC: Fix length validation of anonymous commenter's email address.

Fix the first step of validating an anonymous commenters in which the length is checked prior to running regular expressions.

Follow up to [47808].
Fixes #51595.

#5 @peterwilsoncc
4 years ago

In 49273:

XML-RPC: Fix length validation of anonymous commenter's email address.

Fix the first step of validating an anonymous commenters in which the length is checked prior to running regular expressions.

Follow up to [47808].
Merges [49271] to the 5.5 branch.
Fixes #51595.

Note: See TracTickets for help on using tickets.