Date: 2014-12-11 14:25
Posted By: John Beatrice (mww)
This also happens for me on all CMSMS versions I've used it on, including
1.11.11. The admin log will grow up to 40 MB ++ in the mysql database if using
just a few snippets in your templates. Finally, I decided to patch mine with
the following fix which seems to work.
Inside of Snippets.module.php around line 80. Add SetParameterType() for each
param in use:
function InitializeFrontend() {
$this->RestrictUnknownParams();
$this->SetParameterType('name',CLEAN_STRING);
$this->SetParameterType('module',CLEAN_STRING);
$this->SetParameterType('action',CLEAN_STRING);
$this->SetParameterType('output',CLEAN_STRING);
$this->RegisterModulePlugin();
}