Support » Plugin: Email Encoder - Protect Email Addresses » Allow to stop encoding content within inputs

  • Rene

    (@renehamburger)


    Hi there,

    we’ve got a very simple (contact-form 7) form on our landing page (https://www.bibel-fuer-alle.net/#anmeldung). When a user signs up, the page is reloaded and a confirmation message is shown below the form containing all the content the user entered.

    I was surprised to see that your plugin encodes content within form inputs at all, as they are (usually) entered by the user and not by the website. It would be great to be able to turn this off as it is very confusing to the user, giving him the impression that his email address was not sent off correctly.

    In addition, if the e-mail address contains a ‘+’-sign, e.g. “test+something@example.com” this seems to break the encoding and part of the email address is displayed under the input as well.

    I solved this issue by excluding the page/post from the plugin, so you won’t be able to reproduce it there, but I still wanted to post this here as a feature request and for reference for other users encountering this issue.

    • This topic was modified 1 month, 4 weeks ago by Rene.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ironikus

    (@ironikus)

    Hi @renehamburger – thank you a lot for your message, as well as for all the details.
    Can you tell me if you use the default contact form 7 logic to show the content that has been sent with the form? Or is it some other plugin that displays it there?

    I will make some tests regarding the “+” topic, but I think it might be because the + is not considered a valid character for an email at that point.
    I’ll make some further investigations on that.
    Thanks again for your help to make the plugin better!

    Rene

    (@renehamburger)

    Sorry for the slow response, @ironikus.

    I was actually wrong about the form. This one is generated by https://de.wordpress.org/plugins/mailchimp-for-wp/. I’ve got other “Contact Form 7”-forms on my site.

    I’ve moved the form to a new page, where you can test the behaviour.

    Plugin Author Ironikus

    (@ironikus)

    Hi @renehamburger – thank you for your message.

    I tried to send a test form and there is no user-related data showing up at the bottom of the form after the submit.
    Is there anything I miss?

    Apart from that, do you use the newest version of the email encoder?
    Thanks already a lot.

    Rene

    (@renehamburger)

    The encoding happens within the input. Here’s a screenshot.

    Yes, I’ve tested it with the latest version: v2.0.5.

    Thanks for following up on this!

    Plugin Author Ironikus

    (@ironikus)

    Hi @renehamburger – I tried to check it, but it looks fine from my end – can you try it being logged out?
    I still only receive the error message, but the email within the input looks fine after saving.
    Can you tell me if it was the contact form7 plugin or the mailchimp plugin that currently causes the issues? This was not 100% clear to me from the prvious message.
    Thanks already.

    Rene

    (@renehamburger)

    Yes, it also happens when not logged in.

    I assume the issue is caused by your plugin (or maybe a combination of mailchimp-for-wp and your plugin): When I change $this->email_regex in your class Email_Encoder_Settings so that it does not match an email, then the issue is gone.

    I’m happy for you the stop investigating this now until someone else encounters this issue. After all, I’m fine with disabling your plugin on the page that contains the form.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.