[TYPO3-core] FYI: #12017: Wrong Inclusion in tceforms and tceforms_fe
Martin Kutschker
masi-no at spam-typo3.org
Wed Sep 23 11:13:49 CEST 2009
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} === '/') {
I prefer your version but throughout the Core substr() is used.
Masi
More information about the TYPO3-team-core
mailing list