Email Protector

Email protector corrupts e-mail form fields

4 years 2 weeks ago #32411

Robert Edin's Avatar Robert Edin

Hi!
I have a problem with that e-mail protector cloaking changes pre-filled form field data.
I use DPCalendar and it pre-fills user data, like name and email address, in its form for "attend event". The cloaked email address is then not a valid e-mail address in the form that shall be submitted by the user.

How can I solve this?

Shall email form field data in 3rd party extensions really be cloaked?

I guess that pre-filled e-mail addresses in forms are only used for logged in users, and spam-bots are not logged in users.

BR,

-- Robert

4 years 2 weeks ago #32452

Peter van Westen's Avatar Peter van Westen Admin

Email Protector should leave form fields alone.
Do you have this online so I can have a look?

4 years 2 weeks ago #32467

Robert Edin's Avatar Robert Edin

Sure. You need a user at our site then. How can I send you credentials in private?

4 years 2 weeks ago #32468

James Dekle's Avatar James Dekle

For what it's worth, I'm having the same problem in DT Register. It shows the pre-filled email field as:
"<span class="cloaked_email" id="ep_5ce26a97"><span data-ep-a2bb0="jcd" data-ep-b4142="om"><span data-ep-a2bb0="@wi" data-ep-b4142="e.c"><span data-ep-b4142="tat" data-ep-a2bb0="lds"></span></span></span></span><script type="text/javascript">emailProtector.addCloakedMailto("ep_5ce26a97",0);</script>"

It also causes DT Register to show a Forbidden message:
"You don't have permission to access /en/2013-08-25-15-41-17/open-for-registration on this server."

4 years 2 weeks ago #32473

Peter van Westen's Avatar Peter van Westen Admin

Can you give me (super) admin and ftp access so I can take a look?
You can use the 'confidential' tags in the forum editor.

4 years 2 weeks ago #32478

James Dekle's Avatar James Dekle

Hi Peter, if you wish to have a look at my site with the DT Register problem, please see the following:

Confidential information:
(hidden)


Best regards,
Stuckshutter

4 years 2 weeks ago #32486

Peter van Westen's Avatar Peter van Westen Admin

Ok, found the problem.
It is fixed on your setup and will be fixed in next release.

The issue was caused by invalid html markup in the form.
The form outputs html tag attributes in single quotes instead of double. So:

<input type='text' id='ConfirmField10' ...
instead of:
<input type="text" id="ConfirmField10" ...

I have added some code in Email Protector to deal with that invalid markup.

4 years 2 weeks ago #32502

Robert Edin's Avatar Robert Edin

Great :cheer:
I will give feed-back to Digital-Peak as well!

4 years 2 weeks ago #32509

Peter van Westen's Avatar Peter van Westen Admin

:)

4 years 2 weeks ago #32514

Robert Edin's Avatar Robert Edin

I have a bundle, so it is time to give more than one great rating ;-)

4 years 2 weeks ago #32530

Robert Edin's Avatar Robert Edin

Reply from Digital-Peaks support forum:

According to the specification, single quotes are permitted www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2 . But peter will solve it in it's next release. Will close the case then.