Hi blurpfish,
- variables are always filtered out (e.g.,htmlentities) before going to the database or Republished?
You should not rely on ChronoForms to filter incoming data. If you use the ChronoForms DB Connection then they are passed through the Joomla JRequest::get( "post" , JREQUEST_ALLOWRAW ). The Joomla default setting for JREQUEST_ALLOWRAW is 2 which does not filter. The options are
Filter bit mask.
1=no trim: If this flag is cleared and the input is a string, the string will have leading and trailing whitespace trimmed.
2=allow_raw: If set, no more filtering is performed, higher bits are ignored.
4=allow_html: HTML is allowed, but passed through a safe HTML filter first. If set, no more filtering is performed. If no bits other than the 1 bit is set, a strict filter is applied.[/quote]
It is also possible to access and save data by reading the $_POST array directly which would bypass any Joomla filtering. Conversely, the OnSubmit Before box and the server-side validation allow you pretty much complete control over your data.
- uploaded files are checked for correct extension after they are on the server... and if they haven't correct extension, they are deleted?
They are checked for the correct extension and there is no longer wild card option so case-insensitive extension filtering is applied. I've checked the code and I don't believe that that the uploade file is deleted from the tmp folder if there is an error. This could easily be added though.
- shouldn't the automatically created upload file directories have some sort of .htacess forbidden protection for the case of (an odd situation) where the server is not configured to display index.html and listing directory files?
Nothing is done at present except to write the standard Joomla index.html file to the folder that ChronoForms creates. In general I think that Max has taken the approach that the admin needs to manage any specific server protection.
- if the uploaded files in the forms are attached to emails, is there an automatic way to define them to be deleted from the server after the emails being sent?
No automatic way but it's straightforwad to do so in the OnSubmit After Code box.
Bob