There should be an option to trim leading/trailing whitespace from submitted form data.
event.getCollectionForForm() should have an autoTrim argument with a default.
Default setting in Config.cfc is false (do not trim whitespace - existing behaviour) for both admin and frontend form submissions.
Option to set autoTrim option on object property or form field.
If true, will be trimmed even if global/request setting is not to trim.
If false, will not be trimmed even if global/request setting is to trim.