Default values aren't sanitised for any custom field. That is true.
It's assumed that the admin knows what he does when he sets up a new field. Similar to the extension developer when they specify a default value in the XML file (which isn't sanitised as well).
Imho if we want to sanitise those values, it would have to be done in the respective formfields, not in the custom fields plugins.
Default values aren't sanitised for any custom field. That is true.
It's assumed that the admin knows what he does when he sets up a new field. Similar to the extension developer when they specify a default value in the XML file (which isn't sanitised as well).
Imho if we want to sanitise those values, it would have to be done in the respective formfields, not in the custom fields plugins.