Index: /branches/rel_ag_9_4_5/lighttpd/saml2.diff
===================================================================
--- /branches/rel_ag_9_4_5/lighttpd/saml2.diff	(revision 20645)
+++ /branches/rel_ag_9_4_5/lighttpd/saml2.diff	(working copy)
@@ -3450,3 +3450,14 @@
              case (self::RSA_SHA1):
                  $this->cryptParams['library'] = 'openssl';
                  $this->cryptParams['method'] = 'http://www.w3.org/2000/09/xmldsig#rsa-sha1';
+diff -urNa simplesamlphp-1.14.16/lib/SimpleSAML/XML/Validator.php simplesamlphp/lib/SimpleSAML/XML/Validator.php
+--- simplesamlphp-1.14.16/lib/SimpleSAML/XML/Validator.php  2016-09-08 21:31:44.000000000 +0800
++++ simplesamlphp/lib/SimpleSAML/XML/Validator.php  2026-07-09 14:58:47.000000000 +0800
+@@ -260,6 +260,6 @@ class SimpleSAML_XML_Validator {
+ 		assert('$node instanceof DOMNode');
+ 
+ 		while($node !== NULL) {
+-			if(in_array($node, $this->validNodes)) {
++			if(in_array($node, $this->validNodes, true)) {
+ 				return TRUE;
+ 			}
