Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#9965 closed defect (bug) (fixed)

wp_blacklist_check() spams comments containing decimal entities

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


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 15 years ago.

Download all attachments as: .zip

Change History (3)

#1 @tellyworth
15 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.

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