Open IQAndreas opened 12 years ago
My comments from #6 regarding 8e6b17b are appropriate here also. The brace placement on c35c45e is... unique. Far better to stick with the existing style, though.
Third version. Does this look better?
I switched to a different cleaning function for mail input which seems to suit the purpose much better. http://mattgeri.com/blog/2012/01/escaping-input-to-the-php-mail-function/
This fix allows blog owners to reply to the user's comment by replying to their email (if they included an email address in the comment) if they want a private reply rather than a reply as a comment on the blog.
Second version. This time I use the recommended header cleaning function from http://stackoverflow.com/questions/8071916/escape-string-to-use-in-mail