[Plugin: Clean-Contact] chokes on apostrophes in blog title
-
The title of my blog has an apostrophe in it – D’Arcy Norman dot net – and the emails sent by clean-contact are being borked with this error message on my server:
A message that you sent contained one or more recipient addresses that were incorrectly constructed: D'Arcy Norman dot net<[email protected]>: malformed address: ;Arcy Norman dot net<contact@dom may not follow D'
(I altered the email address in the error message so I don’t get spammed)
I’ve modified line 124 in clean-contact.php to only send the $to_email value in $to, and it works fine now. Might be safer to add some scrubbing of encoded characters before sending the message.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: Clean-Contact] chokes on apostrophes in blog title’ is closed to new replies.