WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#9965 closed defect (bug) (fixed)

wp_blacklist_check() spams comments containing decimal entities

Reported by: ryan Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version:
Component: Comments Keywords: has-patch
Focuses: Cc:

Description

As noted in the conversation on #9934. Decimal entities cause the comment to unconditionally be marked as spam. Hex entities are allowed, however. Should wp_blacklist_check() be checking entities at all?

Attachments (1)

kill-blacklist-entity-check.patch (767 bytes) - added by tellyworth 5 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 tellyworth5 years ago

  • Keywords has-patch added

This is causing problems again. I think something changed in the way something was encoded.

Let's just kill it and deal with any problems later.

Patch enclosed, though it's a no brainer.

comment:2 ryan5 years ago

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

(In [11836]) Kill entity check in wp_blacklist_check(). Props tellyworth. fixes #9965

Note: See TracTickets for help on using tickets.