Page MenuHomePhabricator

Remove usage of PHP serialization from WANObjectCache
Open, Needs TriagePublic

Description

Per T161647: RFC: Deprecate using php serialization inside MediaWiki, we should not rely on PHP serialization. One place where such serialization is often implicitly applied is object caching. WANObjectCache should reject all cache values that cannot be serialized to JSON.

Event Timeline

Change 662714 had a related patch set uploaded (by Daniel Kinzler; owner: Daniel Kinzler):
[mediawiki/core@master] DNM: WANObjectCache: warn on non-JSONic values.

https://gerrit.wikimedia.org/r/662714