HomePhabricator

Added cookie forwarding (T88016)

Description

Added cookie forwarding (T88016)

Cookies set on original request are forwarded to parsoid and
mediawiki endpoints to let user auth and read content.

Two tests added, verifying that cookies are actually forwarded -
one for parsoid and one for mediawiki api.

This solves only a part of the problem, after this fix user can
read content from private wiki, but we still do not have a mechanism
to forbid read of content already stored in restbase.

Bug: https://phabricator.wikimedia.org/T88016

Details

Provenance
PcheloloAuthored on
Parents
rGRES2caaf5fd2994: last
Branches
Unknown
Tags
Unknown
ChangeId
None

Event Timeline

Petr Pchelko <ppchelko@wikimedia.org> committed rGRES513d4b4bd120: Added cookie forwarding (T88016) (authored by Petr Pchelko <ppchelko@wikimedia.org>).Aug 26 2015, 8:57 AM