[TYPO3-core] RFC: 15211: listQuery does not handle passed in int values correctly

Kjeld Schumacher ks at not-only-pixel.de
Fri Jul 23 13:29:36 CEST 2010


+1 by reading.

Just one annotation, make spaces between the equal sign (CGL).
But that could be done on commit.

Bye
Kjeld
On 07/23/2010 10:48 AM, Bjoern Pedersen wrote:
> Bug tracker reference: http://bugs.typo3.org/view.php?id=15211
>
> the page group access check calls t3lib_db with an int array (obtained
> by t3lib_div::intExplode).
>
> if the group number matches ord(',') strpos(',', value) returns a match
> causing an ValueErrorException.
>
> Solution: check  that $value is a string, otherwise convert it with strval.
>
>
> Note: The  bugtracker contains two tests showing the strange strpos
> behaviour.
>    
>
>
> _______________________________________________
> Before posting to this list, please have a look to the posting rules
> on the following websites:
>
> http://typo3.org/teams/core/core-mailinglist-rules/
> http://typo3.org/development/bug-fixing/diff-and-patch/
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core


More information about the TYPO3-team-core mailing list