Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compatibility issues with some saml implementations #895

Merged
merged 1 commit into from Jan 31, 2023

Conversation

earonesty
Copy link
Contributor

@earonesty earonesty commented Jan 25, 2023

Description

The feature or problem addressed by this PR

RSA test suite and other integrations seem to fail with pysaml2 because they use deflate on post bindings

What your changes do and why you chose this solution

Tries to deflate post binding data, just in case. Should be perfectly safe since a valid zip encoding has no overlap with valid utfs/xml encoding.

Checklist

  • Checked that no other issues or pull requests exist for the same issue/change
  • Added tests covering the new functionality
  • Updated documentation OR the change is too minor to be documented
  • Updated CHANGELOG.md OR changes are insignificant

@c00kiemon5ter
Copy link
Member

Thanks. I think it's good to be compatible with implementations and this is an easy change.

We should probably split the operations and name the functions better, but that can be done as a separate refactor in the future.

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.

None yet

2 participants