[TYPO3-core] GeneralUtility::inList() and spaces
François Suter
fsu-lists at cobweb.ch
Wed Jul 10 11:43:01 CEST 2013
Hi all,
I just stumbled on this issue: http://forge.typo3.org/issues/42789
It is due to the behavior of
\TYPO3\CMS\Core\Utility\GeneralUtility::inList() which doesn't accept
spaces in comma-separated strings.
I was wondering whether we should fix this or not. Accepting arbitrary
spaces probably means using a regexp instead of strpos() which would be
slower. And since inList() is very widely used I'm wary of making such a
change.
Opinions?
Cheers
--
Francois Suter
Work: Cobweb Development Sarl - http://www.cobweb.ch
TYPO3: Help the project! - http://typo3.org/contribute/
Appreciate my work? Support me -
http://www.monpetitcoin.com/en/francois/support-me/
More information about the TYPO3-team-core
mailing list