diff --git a/src/aphront/configuration/AphrontApplicationConfiguration.php b/src/aphront/configuration/AphrontApplicationConfiguration.php index ae3f11fac6..4d73206c9c 100644 --- a/src/aphront/configuration/AphrontApplicationConfiguration.php +++ b/src/aphront/configuration/AphrontApplicationConfiguration.php @@ -119,14 +119,6 @@ abstract class AphrontApplicationConfiguration { $request = $this->getRequest(); $path = $request->getPath(); - // Check if we should do an HTTP -> HTTPS redirect - $base_uri = new PhutilURI( - PhabricatorEnv::getEnvConfig('phabricator.base-uri')); - if ($base_uri->getProtocol() === 'https' && !$_SERVER['HTTPS']) { - $base_uri->setPath($path); - return $this->buildRedirectController($base_uri); - } - list($controller, $uri_data) = $this->buildControllerForPath($path); if (!$controller) { if (!preg_match('@/$@', $path)) {