• Our site name has an apostrophe in it. When the contact form sends us an e-mail, the subject line looks like this:

    Quilter's Review Contact Us: test

    Is there a simple fix for this?

    Thanks!

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter Charlie

    (@cdarling)

    Darn! I guess I shouldn’t have enclosed the subject in backticks in the earlier message. The subject looks like this:

    Quilter's Review Contact Us: test

    Let’s see if that shows up right…

    Thread Starter Charlie

    (@cdarling)

    Arrrgh! The apostrophe is still showing up in the message.

    The subject in the e-mail doesn’t have an apostrophe in it. Instead, it has the HTML entity code for an apostrophe. I guess I can’t show you exactly … you’ll have to use your imagination.

    Anyway, if there’s an easy fix, I’d love to hear it.

    Thanks!

    I understand the problem. I will test and get back to you.

    Mike

    I cannot duplicate this problem.

    Please contact me at my support page, I want you to send a test email to me but I do not post my email here.
    http://www.fastsecurecontactform.com/support

    Hello,

    I’m also having a problem with apostrophes. Everything was fine, but since upgrading to WordPress 3.1.4 and/or the latest version of FS Contact Form, anywhere that there was an apostrophe, it’s now replaced with '

    NOTE: Below I’ve separated the characters with spaces in case it doesn’t show up correctly.

    & a p o s ;

    This has happened in all the fields such as “Optional email subject list”, “Custom email from”, etc, etc.

    If I try to manually correct the text, after saving, it is again replaced with “'” … ” & a p o s ; “

    If you have time to look at this problem, let me know.. I can send whatever information is required.

    Best regards,
    Mike.

    wpmirwin,

    That encoding is intentionally done for protecting against XSS attacks. It is a security feature.
    I have the HTML form fields output encode < > & ” ‘ (less than, greater than, ampersand, double quote, single quote).

    In what way does that cause a problem?
    Are the entities showing up in the email message or something?
    My tests show no problems.

    Hello Mike,

    Thanks for responding. Yes, the entities are showing on the web pages themselves and in the email messages.

    The odd thing is that *some* of them are being displayed as a proper apostrophe. i.e. in the “Welcome Introduction” text, it is displayed properly. But, pretty much everywhere else, they are not (i.e. “Optional Email Subject List”, all autoresponder text, etc, etc.

    As I mentioned, this wasn’t happening prior to the WordPress and/or the FS Contact form upgrade.

    NOTE: It could have been 2 versions ago that this happened, but I just didn’t notice.

    Is it possible to make an older version of the FS Contact form available so I can test it? I can’t seem to find older versions of the plugin anywhere.

    Regards,
    Mike.

    P.s. The site is for my kids, and even read access is password protected. If you want to take a look, I can setup an account, but would obviously prefer to do that via email.

    It would be best if I can have the opportunity to diagnose the problem.

    Please contact me here to exchange login info:
    http://www.fastsecurecontactform.com/support

    Hi Mike,

    Ok. I just send you more details via your support contact form.

    Thank-you.

    Mike.

    I just logged into the plugin settings and changed the entities back to single quotes and all is fine.

    The entities showed because the ampersand also changed to an entity after the apos entity was set.
    That should not happened. It is possible that one of my earlier updates caused it and the current update will not. So let me know if it returns.

    I fixed it. It was a IE only type of problem.
    I had to replace the entity for single quotes.
    http://www.digimantra.com/tips/how-to-display-apos-in-internet-explorer-ie/
    Problem resolved.

    The next version after 3.0.3 will have this fix.
    Anybody else with 3.0.3 can update now before the next version higher than 3.0.3 comes out.
    http://www.fastsecurecontactform.com/update-to-the-latest

    Hi Mike,

    Thanks for the great support, and for the great plugin! I really appreciate how quickly you were able to help. Everything is working well now.

    Best regards,
    Mike.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘[Plugin: Fast Secure Contact Form] HTML Entity in subject’ is closed to new replies.