Skip to content

Conversation

@Unix4ever
Copy link

@Unix4ever Unix4ever commented Jun 30, 2025

Another attempt to fix: #580

The code is reading the attributes from the elements in the loop, then writes to a map using childEl.Scope as the key. Intention behind this code is not clear, as the resulting map contains a random string for an empty space, depending on which element was the last one.

Instead, write the key to the map only if the childEl is the element we're encoding.

Tested that against Fusion Auth SAML and Microsoft SP with SAML. Can't submit the ACS/Metadata for Microsoft for the testing purposes, as it contains the sensitive data.

Another attempt to fix: crewjam#580

The code is reading the attributes from the elements in the loop,
then writes to a map using `chileEl.Scope` as the key.
Intention behind this code is not clear, as the map contains a random
string for an empty space, depending which element was the last one.

Instead, write the key to the map only if the `childEl` is the element
we're encoding.

Tested that against Fusion Auth SAML and Microsoft SP with SAML.
Can't submit the ACS/Metadata for Microsoft for the testing purposes, as
it contains the sensitive data.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
@Unix4ever Unix4ever requested a review from crewjam as a code owner June 30, 2025 21:38
@Unix4ever
Copy link
Author

@crewjam any comments, feedback, suggestions on this PR? Can we please get it merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant