File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,23 +116,23 @@ class CustomCode
116116 * @param \SimpleSAML\Session $session The session to approve/reject
117117 * @param bool $init true if called during session init.
118118 */
119- public static function checkSession(\SimpleSAML\Session $session, bool $init = false)
119+ public static function checkSession(\SimpleSAML\Session $session, bool $init = false): bool
120120 {
121121 $authority = "default-sp";
122122
123- if( $init ) {
123+ if ( $init) {
124124 // init can not fail
125125 // return value is ignored
126126 return true;
127127 }
128128
129- $ad = $session->getAuthData($authority,"Attributes");
130- if( ! $ad ) {
129+ $ad = $session->getAuthData($authority, "Attributes");
130+ if (empty( $ad) ) {
131131 return true;
132132 }
133133 $uid = $ad["uid"];
134134
135- if( in_array("badboy@localhost.localdomain",$uid)) {
135+ if ( in_array("badboy@localhost.localdomain", $uid)) {
136136 // drop the session
137137 return false;
138138 }
Original file line number Diff line number Diff line change 55This document lists the changes between versions of SimpleSAMLphp.
66See the upgrade notes for specific information about upgrading.
77
8+ ## Version 1.19.8
9+
10+ Released 2-3-2023
11+
12+ * Dependencies have been bumped (CVE-2022 -24894)
13+
14+ ## Version 1.19.7
15+
16+ Released 5-12-2022
17+
18+ * Backported fix to error report page (#1637 )
19+ * Many doc fixes
20+ * Fixed the handling of SAML AttributeQuery and SOAP-binding (#314 @ saml2)
21+ * Fixed serialization of complex AttributeValue structures
22+ * Bump composer + npm dependencies (includes a fix for CVE-2022 -39261)
23+ * Many updated translations
24+ * Handle ETag/If-None-Match logic (#1672 + #1673 )
25+
826## Version 1.19.6
927
1028Released 2022-07-01
You can’t perform that action at this time.
0 commit comments