php-zumba-json-serializer-3.2.6-1.fc44
- php-zumba-json-serializer-3.2.6-1.fc44
What's Changed
- [Security] setAllowedClasses() now applies to objects stored inside SplDoublyLinkedList, SplQueue and SplStack, including subclasses. Security Advisory GHSA-xc2j-7c2r-wjjv
- Object references shared between a list and the rest of the serialized data now survive a round trip
- Add patch level to PHP version requirements in tests, by @williamdes in #84
Upgrade notes
- The JSON written for these list classes changed. The elements are now a JSON array with a mode key, where before they were a PHP native-serialized string. 3.2.5 and earlier cannot read lists serialized by 3.2.6.
- Lists serialized by 3.2.5 and earlier are still readable. With an allowlist set, an object in such a list whose class is not allowed comes back as an inert __PHP_Incomplete_Class.
- The allowlist does not cover closures. Do not register a closure serializer on a serializer that reads untrusted input.