[TYPO3-core] RFC: #9575: use native filter_functions for validate and sanitize

Martin Kutschker masi-no at spam-typo3.org
Thu Oct 16 12:23:06 CEST 2008


Steffen Kamper schrieb:
> Hi Masi,
> 
> Martin Kutschker schrieb:
>> Ok, but note that the email filter accepts also IP addresses for domains
>> and quotes for the user part (eg "foo bar"@127.0.0.1), which are
>> perfectly valid, but were not supported by the function for now.
>>
> 
> this wasn't valid with older function as well, i checked it.
> i think for the context where you validate emails (in mail forms) these
> adresses shouldn't be used. You normally use this in intranets etc, do
> you really think this should be supported? Thing about i would enter
> this in a mail form:
> john.doe at 127.0.0.1

I pointed out that the filter allows that. Now you're telling me that
you don't want it. But IIRC there is even a bugreport who wanted support
for IP-based email addresses.

To some it up for john.doe at 127.0.0.1:

before patch: invalid
after patch: valid

Masi


More information about the TYPO3-team-core mailing list