Add Vary: X-Forwarded-Proto for https redirects
authorcsteipp <csteipp@wikimedia.org>
Mon, 30 Sep 2013 18:04:45 +0000 (11:04 -0700)
committercsteipp <csteipp@wikimedia.org>
Mon, 30 Sep 2013 18:04:45 +0000 (11:04 -0700)
commitd5513c90cd0713b9acbd8fdccc8d59d6f010d5d2
tree816e04c124bf51f3a94f67c6e083d6503609e7f0
parent0514061e0a14f5a2b97a5d556156276763e76e3a
Add Vary: X-Forwarded-Proto for https redirects

From mark's comments on https://gerrit.wikimedia.org/r/#/c/86268/, we
should be setting Vary: X-Forwarded-Proto when the response varies on
the protocol, which is the case for redirects from http->https.

Change-Id: Ie6dc9da4e804199b99e3a7abbea7775a181801a0
includes/Wiki.php
includes/specials/SpecialUserlogin.php