Make WordPress Core

Opened 16 years ago

Closed 16 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:

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

Download all attachments as: .zip

Change History (3)

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