Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14007571
D11799.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
775 B
Referenced Files
None
Subscribers
None
D11799.diff
View Options
diff --git a/src/applications/notification/client/PhabricatorNotificationClient.php b/src/applications/notification/client/PhabricatorNotificationClient.php
--- a/src/applications/notification/client/PhabricatorNotificationClient.php
+++ b/src/applications/notification/client/PhabricatorNotificationClient.php
@@ -10,6 +10,11 @@
->setPath('/status/')
->setQueryParam('instance', self::getInstance());
+ // We always use HTTP to connect to the server itself: it's simpler and
+ // there's no meaningful security benefit to securing this link today.
+ // Force the protocol to HTTP in case users have set it to something else.
+ $uri->setProtocol('http');
+
list($body) = id(new HTTPSFuture($uri))
->setTimeout(3)
->resolvex();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 30, 8:09 AM (3 w, 3 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6739766
Default Alt Text
D11799.diff (775 B)
Attached To
Mode
D11799: Force Aphlict server connections to HTTP
Attached
Detach File
Event Timeline
Log In to Comment