Page MenuHomePhabricator

Metadata may be `null`
Closed, ResolvedPublic

Description

In some cases the $metadata passed to refreshSessionInfo may be null. This breaks the code.

Patch: https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/Auth_remoteuser/+/490300

Event Timeline

The change has been merged. It's not letting me cherry-pick through gerrit (complains about a merge conflict). It seems like this fix would needed to be applied to REL1_32 also, right? Which release of Mediawiki added the array type check?

Thanks. From my side, cherry-picking to other branches is not required.