We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53452fb commit 320c0aaCopy full SHA for 320c0aa
pub/errors/processor.php
@@ -265,7 +265,7 @@ public function getHostUrl()
265
$host = 'localhost';
266
}
267
268
- $isSecure = (!empty($_SERVER['HTTPS'])) && ($_SERVER['HTTPS'] != 'off')
+ $isSecure = (!empty($_SERVER['HTTPS'])) && ($_SERVER['HTTPS'] !== 'off')
269
|| isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && ($_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https');
270
$url = ($isSecure ? 'https://' : 'http://') . $host;
271
0 commit comments