[wp-trac] [WordPress Trac] #7268: Comments with ' or " in are
treated as spam
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 9 08:56:13 GMT 2008
#7268: Comments with ' or " in are treated as spam
-----------------------+----------------------------------------------------
Reporter: NigelDunn | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: General | Version: 2.5.1
Severity: normal | Keywords:
-----------------------+----------------------------------------------------
On one site we've had a number of comments being automatically classed as
spam where the user has included the character ' (& also possibly ").
These are being converted into ' (when I've used print_r to put
create the body text for wp_mail they're actually \') and then are
being flagged as spam by wp_blacklist_check.
If I amend line 415 of wp-includes/comment.php to check for character 39
as well then the same comment is added into the comment list for approval.
No extra spam filters/plugins have been included on the site, it's just
using the default processing supplied by WP 2.5.1. Nothing has been added
to the comment blacklist setting in Settings->Discussion
The site is running on a shared Unix server & the hosting company have
switched off phpInfo(), so unfortunately I can't supply the settings
there.
--
Ticket URL: <http://trac.wordpress.org/ticket/7268>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list