Page MenuHomePhabricator

Add JSON encoding/decoding to RESTBagOStuff
Closed, DeclinedPublic

Description

[[ https://doc.wikimedia.org/mediawiki-core/master/php/classRESTBagOStuff.html | RESTBagOStuff ]] uses PHP's serialize() and unserialize() to encode and decode values. The session storage service, as specified, expects JSON input/output. If breaking changes to RESTBagOStuff are not possible, then perhaps we can make JSON {en,de}coding optionally configurable. Otherwise, an alternative BagOStuff will be required.

Event Timeline

Eevans triaged this task as Medium priority.Nov 8 2018, 8:15 PM
Eevans created this task.
Eevans closed this task as Declined.Nov 30 2018, 2:48 PM