WordPress.org

Make WordPress Core

Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#51595 closed defect (bug) (fixed)

Unable to make anonymous comments via XML-RPC

Reported by: peterwilsoncc Owned by: 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.


15 months ago

  • Keywords has-patch has-unit-tests added

#2 @peterwilsoncc
15 months 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
15 months 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
15 months 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.