(bug 29898) Set cookie to force HTTPS from HTTP
authorcsteipp <csteipp@wikimedia.org>
Mon, 17 Sep 2012 18:10:30 +0000 (11:10 -0700)
committercsteipp <csteipp@wikimedia.org>
Fri, 21 Sep 2012 22:47:59 +0000 (15:47 -0700)
commit5801da5f86e14793afcc96686144a5d9cfb4df4b
tree2cc2f76e75f4d78fd19a2c66e2607c38d5d50080
parent14d159af7e812cfba27220eba2b61ba6ca2b3e09
(bug 29898) Set cookie to force HTTPS from HTTP

Sets a cookie on user login (removed on logout) if wpStickHTTPS
was checked, which causes the browser to get a redirect if they
visit the HTTP version of the site.

Change-Id: I60f44a1062a93d15198edae6674bb3310a148b2d
includes/User.php
includes/WebResponse.php
includes/WebStart.php
includes/Wiki.php