Subject: | string filters and references |
In Data::FormValidator::Filters all string filters like 'filter_trim', 'filter_strip' etc. should check if
the value is reference and do nothing if it is.
I find convenient to define trim & strip as default filters for web-form data, but they break
upload fields because they are double values: scalar string (filename) + Fh reference. Filtering
the scalar value creates new value with modified string content and no Fh reference. This leads
to subtle bug that manifests only on some uploads with specially named files.
My experience is with DFV 4.66 and perl 5.10.1
Thanks in advance and best regards
luben