[TYPO3-core] FYI: #12017: Wrong Inclusion in tceforms and tceforms_fe
Steffen Kamper
info at sk-typo3.de
Wed Sep 23 11:52:47 CEST 2009
Hi Dmitry,
Dmitry Dulepov schrieb:
> Hi!
>
> Steffen Kamper wrote:
>> the following patch was committed to trunk, rev 6035
>
> It could have a tiny enhancement:
>
> - if (strpos($url, '://') !== FALSE || substr($url, 0, 1) === '/') {
> + if (strpos($url, '://') !== FALSE || $url{0} === '/') {
>
yes, more elegant and more performant.
As this is done at several places we can do a cleanup for these in a
seperate RFC in one step.
vg Steffen
More information about the TYPO3-team-core
mailing list