ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Email Address Confusion

Chris..S 08 Jul, 2008
The form configuration page accepts email addresses in "name-addr" format, e.g. "my name" <my.name@somedomain.com>, but it does not echo this format back correctly. A subsequent update of the form configuration will fail unless the email address(es) are re-entered.
Chris..S 10 Jul, 2008
The solution is to wrap all the email input values in htmlspecialchars(). Actually, all type="text" input fields should do this unless your validation either strips special characters or refuses to echo data that contains them.
GreyHead 11 Jul, 2008
Hi Chris,

Neat workaround. Provided that you use the JRequest calls, Joomla does provide some input filtering.

Bob
Chris..S 11 Jul, 2008
Actually, I should have said, to wrap the "echoing" of all ...

I'm not sure about the JRequest calls. Some of the admin setting fields are currently being echoed back with htmlspecialchars, I just followed that convention.
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com