By Dennis Buijs on Thursday, 11 October 2018
Posted in General Issues
Replies 1
Likes 0
Views 828
Votes 0
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
Hey there,

Thanks for your reporting.

It seems that I am able to replicate it.

I will log this into our issue tracker.
·
Thursday, 11 October 2018 18:01
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post