8.4.2: rich text sanitizing

Permalink
A string can be sanitized with
$service = $this->app->make('helper/security');
$data['string'] = $service->sanitizeString($data['string']);

Should rich text be sanitized at all? If yes, then how?

Thank you.

linuxoid
 
hutman replied on at Permalink Reply
hutman
If you look in the controller.php of the content block you will see that these things are used

use Concrete\Core\Editor\LinkAbstractor;
LinkAbstractor::translateTo($args['content']); //used before database write
LinkAbstractor::translateFrom($this->content); //used before editor display