[BUGFIX] Loosen type check of Redis identifiers and tags 91/23191/8
authorThorsten Kahler <thorsten.kahler@dkd.de>
Mon, 19 Aug 2013 17:57:27 +0000 (19:57 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 29 Jun 2015 21:59:42 +0000 (23:59 +0200)
commitec003b3e949d34037928d545037a7159aa62ff4f
tree87d4227df3ce532d21fd8db42424a904fa340b83
parent1584b3424316dd584bcba8012ffdcde8472c2b93
[BUGFIX] Loosen type check of Redis identifiers and tags

RedisBackend denies identifiers and tags allowed in all other
implementations of caching backends. This change allows all identifiers
and tags which can be casted to string.
Specifically it adds a check for objects having a __toString method.

Change-Id: Id5cc372f6a00c68d9e44a1eb8bb38c8a3679f2a7
Resolves: #51031
Releases: master
Reviewed-on: http://review.typo3.org/23191
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Cache/Backend/RedisBackend.php