simplesamlphp / saml2

SimpleSAMLphp low-level SAML2 PHP library
https://www.simplesamlphp.org
GNU Lesser General Public License v2.1
286 stars 135 forks source link

5.0.0-alpha.7: Response::toXML broken #300

Closed SiebelsTim closed 2 years ago

SiebelsTim commented 2 years ago

Somewhere between alpha.4 and alpha.7 the entire toXML-infrastructure was reworked. Now Response::toXML is broken.

As a result, a Response will always be <samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"/> missing all its children and various attributes.

tvdijen commented 2 years ago

Hi Tim! Thanks for reporting this. The 5.0 release is still a work in progress, but this was indeed a bug.. The trait was completely unnecessary, so I simply removed it.