mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 16:52:41 +01:00
parent
129bff016b
commit
cc2225e34c
1 changed files with 0 additions and 8 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue