Page MenuHomestyx hydra

PhabricatorSite.php
No OneTemporary

PhabricatorSite.php

<?php
abstract class PhabricatorSite extends AphrontSite {
public function shouldRequireHTTPS() {
// If this is an intracluster request, it's okay for it to use HTTP even
// if the site otherwise requires HTTPS. It is common to terminate SSL at
// a load balancer and use plain HTTP from then on, and administrators are
// usually not concerned about attackers observing traffic within a
// datacenter.
if (PhabricatorEnv::isClusterRemoteAddress()) {
return false;
}
return PhabricatorEnv::getEnvConfig('security.require-https');
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Jul 28, 12:35 PM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
186811
Default Alt Text
PhabricatorSite.php (580 B)

Event Timeline