Page MenuHomePhabricator

D8244.id.diff
No OneTemporary

D8244.id.diff

Index: src/aphront/AphrontRequest.php
===================================================================
--- src/aphront/AphrontRequest.php
+++ src/aphront/AphrontRequest.php
@@ -305,6 +305,11 @@
* @task cookie
*/
private function getCookieDomainURI() {
+ if (PhabricatorEnv::getEnvConfig('security.require-https') &&
+ !$this->isHTTPS()) {
+ return null;
+ }
+
$host = $this->getHost();
// If there's no base domain configured, just use whatever the request

File Metadata

Mime Type
text/plain
Expires
Tue, Oct 22, 7:49 PM (4 w, 5 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6742684
Default Alt Text
D8244.id.diff (501 B)

Event Timeline