Skip to content

Commit 6a8c43b

Browse files
authored
v.3.18.1
2 parents 178fbb8 + 24cd0c4 commit 6a8c43b

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"config": {
3-
"version": "3.18.0",
3+
"version": "3.18.1",
44
"allow-plugins": {
55
"simplesamlphp/composer-module-installer": true
66
}

setup/Setup.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,6 +1251,13 @@ public static function setup(Event $event) {
12511251
$template = file_get_contents($config['installDir'] . '/setup/sdk/proxy-login.tpl', true);
12521252
$customized = str_replace(array_keys($vars), $vars, $template);
12531253
file_put_contents($config['wwwDir'] . "/proxy-login.php", $customized);
1254+
1255+
if (!file_exists($config['wwwDir'] . "/proxy-home.php")) {
1256+
$template = file_get_contents($config['installDir'] . '/setup/sdk/proxy-home.tpl', true);
1257+
$customized = str_replace(array_keys($vars), $vars, $template);
1258+
file_put_contents($config['wwwDir'] . "/proxy-home.php", $customized);
1259+
}
1260+
12541261
if (!file_exists($config['wwwDir'] . "/error.php")) {
12551262
// add error.tpl only if not exists
12561263
$template = file_get_contents($config['installDir'] . '/setup/sdk/error.tpl', true);

setup/simplesamlphp/simplesamlphp/modules/saml/lib/Message.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -820,6 +820,7 @@ private static function processAssertion(
820820
}
821821

822822
$req_attributes = $spMetadata->getValue('attributes');
823+
if($req_attributes==null) $req_attributes = array();
823824
$res_attributes_array = $assertion->getAttributes();
824825
$res_attributes = array();
825826
foreach($res_attributes_array as $a=>$v) {

0 commit comments

Comments
 (0)