Homec4science

Redirect to https

Authored by Nick Harper <nharper@fb.com> on Aug 31 2012, 01:11.

Description

Redirect to https

Summary:
If the phabricator.base-uri is set up with https and phabricator receives
a request that isn't over ssl, we will issue a redirect response to the user
to force them to use https.

Test Plan:
With this disabled, verified that pages still load correctly over http.
Enabled it; verified I get redirected to the same path but on https when I
make an http request; verified https requests get served without a redirect.

Reviewers: epriestley, vrana

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3411

Details

Committed
Nick Harper <nharper@fb.com>Aug 31 2012, 01:11
Pushed
aubortJan 31 2017, 17:16
Parents
rPHdaabc41fa108: Add detailed instructions for installing PHP on Windows
Branches
Unknown
Tags
Unknown
Reverted By
rPHcc2225e34ce1: Revert "Redirect to https"

Event Timeline

Nick Harper <nharper@fb.com> committed rPH8afc7fc2cd6d: Redirect to https (authored by Nick Harper <nharper@fb.com>).Aug 31 2012, 01:11