Review main Abandoned

31901[BUGFIX] Prevent strings from being autoloaded

Tobias Liebig CR 0 V 0 Easy +1 −1 updated 07/30/14, 08:21

Commit message

While persisting an object and the DataMapper is asked for the plainValue
of a property. The TypeHandlingUtility is using "is_subclass_of()" to
check if the given input is an instance of
\TYPO3\CMS\Core\Type\TypeInterface.
Unfortunately, when passing a string into "is_subclass_of" it tries to
instantiate an object of that name. This will trigger the class auto
loader. Even worst, when the string contains an special char (like an
umlaut) the class cache will throw an exception (#1233057752).

This issue was already fixed in #54275
and reintroduced during a cleanup in #57255

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1