Hi gijoe
great work on the latest protector module.
I have made a couple of modifications to your latest module for use with ImpressCMS.
edited:
filters_disabled/postcommon_post_htmlpurify4guest.php
and added check for icms, so that if used with ImpressCMS 1.1 or later, then this filter will use the impresscms core HTMLPurifier library instead, it makes no sense for the protector library to be also loaded into memory when icms core library is already present.
I have also updated the HTMLPurifier library to the latest 3.20 standalone version, as I have found it is better on resources than the full package & contains less files.
also I have added a few notes to the README file, to explain how to install with ImpressCMS 1.1 or later, as you are aware, you don't need to edit mainfile.php when using impresscms because we use preload feature instead.
I have included the preload/protector.php file in the ImpressCMS_extras directory included in the patch.
with regards to the patch you include for databasefactory.php, this will no longer be required for ImpressCMS 1.1.2 or later, as I have applied your patch to the core from that version onwards.
you can download the patch
hereit would be much appreciated if you could take a look over the edits, and possibly add to your next release.
regards
Vaughan