File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
simplesamlphp/simplesamlphp/modules/saml/lib Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "config" : {
3- "version" : " 3.18.0 " ,
3+ "version" : " 3.18.1 " ,
44 "allow-plugins" : {
55 "simplesamlphp/composer-module-installer" : true
66 }
Original file line number Diff line number Diff 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 );
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments