• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: RS Form PRO Error problem

RS Form PRO Error problem 12 years 5 months ago #20209

Hello everybody;

Everthing works clearly with the form that l created with rsform pro.
But when l want to write the mail adress with user form and then when
l entered the mail adress and push the "send button" it gives an error message
and it deletes the special characters (@,.,-) www.erdimsacekimi.com the web
site that l am talking about, what is the solvation of this problem? l am waiting your helps..
The administrator has disabled public write access.

RS Form PRO Error problem 12 years 4 months ago #20344

and my other web sites to i have same problem.www.botoksdolgumezo.com
The administrator has disabled public write access.

RS Form PRO Error problem 12 years 4 months ago #20360

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
This is actually an issue with your template - it removes characters because it has some kind of built-in "XSS protection" that strips pretty much anything that isn't alphanumeric (a-z, 0-9). We've sent them a fix for this, but it seems that they didn't incorporate it. Anyway,
Please edit the "yjsg_core.php" file from "/templates/<your template name>/yjsgcore/" and remove or comment (commenting is done by adding // in front of the line) the following lines:
// XSS PROTECTION
$_GET = preg_replace("|([^\w\s\'])|i",'',$_GET);
$_POST = preg_replace("|([^\w\s\'])|i",'',$_POST);
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
Last Edit: 12 years 4 months ago by octavian.
The administrator has disabled public write access.
The following user(s) said Thank You: enickdavis

RS Form PRO Error problem 12 years 3 months ago #20900

This worked for me! I don't think I would have every found this solution otherwise. Note: on my template, the yjsg_core.php file has the following code:
// XSS PROTECTION
require_once(TEMPLATEPATH.DS."yjsgcore/yjsg_validate.php");
 yjsg_validate_data($_POST);
 yjsg_validate_data($_GET);

I still commented out the two lines with success:
// XSS PROTECTION
require_once(TEMPLATEPATH.DS."yjsgcore/yjsg_validate.php");
// yjsg_validate_data($_POST);
// yjsg_validate_data($_GET);

octavian wrote:
This is actually an issue with your template - it removes characters because it has some kind of built-in "XSS protection" that strips pretty much anything that isn't alphanumeric (a-z, 0-9). We've sent them a fix for this, but it seems that they didn't incorporate it. Anyway,
Please edit the "yjsg_core.php" file from "/templates/<your template name>/yjsgcore/" and remove or comment (commenting is done by adding // in front of the line) the following lines:
// XSS PROTECTION
$_GET = preg_replace("|([^\w\s\'])|i",'',$_GET);
$_POST = preg_replace("|([^\w\s\'])|i",'',$_POST);
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!