Page MenuHomePhabricator

mw.wikibase.getEntityObject returns mutable tables which are shared across invokes
Closed, ResolvedPublic

Description

That allows passing state between invokes by simply modifying those tables.

Event Timeline

hoo raised the priority of this task from to High.
hoo updated the task description. (Show Details)
hoo changed Security from none to None.
hoo added subscribers: Unknown Object (MLST), Anomie, He7d3r and 5 others.
hoo added subscribers: Lydia_Pintscher, aude, daniel.

Change 177991 had a related patch set (by Hoo man) published:
Clone cached tables before returning them to users in mw.wikibase

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

Patch-For-Review

Change 177991 merged by jenkins-bot:
Clone cached tables before returning them to users in mw.wikibase

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

Change 178273 had a related patch set uploaded (by Aude):
Clone cached tables before returning them to users in mw.wikibase

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

Patch-For-Review

Change 178273 merged by jenkins-bot:
Clone cached tables before returning them to users in mw.wikibase

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

hoo claimed this task.

Change 180057 had a related patch set uploaded (by Aude):
Clone cached tables before returning them to users in mw.wikibase

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

Patch-For-Review

Change 180057 merged by jenkins-bot:
Clone cached tables before returning them to users in mw.wikibase

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