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

Steffen Kamper info at sk-typo3.de
Thu Oct 16 20:12:00 CEST 2008


Hi Ingo,

before i update the patch one question for clarify.

Ingo Renner schrieb:
> Steffen Kamper wrote:
> 
> Hi Steffen,
> 
>>> To some it up for john.doe at 127.0.0.1:
>>>
>>> before patch: invalid
>>> after patch: valid
> 
> which I think is not a problem, it's rather a fixed bug. Because of this 
> I'd also say that there shouldn't be a switch.
>

do you mean removing the ip-check and consider email with IP as valid?

> Also as Masi mentioned already, I recommend to not add the URL methods 
> here and now, especially when considering a split up of t3lib_div. Other 
> than that pure wrappers don't make sense/look good to me.
> 

no problem. We can add proper validation for URL after split in a 
validation class. As filter comes with a huge constants-setting, also 
combinable, i see no problem to have such wrappers for more easy usage. 
Otherwise we could say the same for some other strpos/str_replace 
wrappers we already have :-)

vg Steffen


More information about the TYPO3-team-core mailing list