Skip to content
Snippets Groups Projects
Commit 0563fb68 authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Merge branch 'master' of github.com:simplesamlphp/simplesamlphp

# By ezero
# Via ezero
* 'master' of github.com:simplesamlphp/simplesamlphp:
  MINOR: When using HTTP protocol the $_SERVER['HTTPS'] is not set.
parents 42b00572 7dd87de1
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ SimpleSAML\Utils\Auth::requireAdmin();
$attributes = array();
$attributes['HTTP_HOST'] = array($_SERVER['HTTP_HOST']);
$attributes['HTTPS'] = array($_SERVER['HTTPS']);
$attributes['HTTPS'] = isset($_SERVER['HTTPS'])? array($_SERVER['HTTPS']) : array();
$attributes['SERVER_PROTOCOL'] = array($_SERVER['SERVER_PROTOCOL']);
$attributes['SERVER_PORT'] = array($_SERVER['SERVER_PORT']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment