EasySocial 2.2.6
Hi

I encountered a problem when somebody add some site details.

The xx_discuss_users table field site:
{"siteUrl":"http:\/\/pood4.xxx.ee\/","siteUsername":"help","sitePassword":"help","ftpUrl":"http://www.xxx.ee";,"ftpUsername":"help.mybody.ee","ftpPassword":"xxx","optional":"Website admin\r\nAddress website: http:\/\/pood4.xxx.ee\/\r\nUser: help\r\nPass: help\r\n\r\nFtp info\r\nServer: http://www.xxx.ee\r\nUser: help.xxx.ee\r\nPass: xxx"}

The problem is part Optional, \r\n gives an error, when I remove these characters it is fine:

Error: 0 - Error decoding JSON data: Control character error, possibly incorrectly encoded.

Somewhere in administrator\components\com_easydiscuss\includes\post\post.php at line 6236:
$siteDetails = new JRegistry($postOwner->get('site'));

Best regards
Dennis

This section can only be seen by users with a valid subscription.
If you have a valid subscription, please login now

Support is
Offline

It is currently off working hours and most of us aren't around.

Rest assured that we will get back to your issues as soon as the day starts tomorrow!

Your time
Stack Ideas time