We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db347c7 commit 0f29cc4Copy full SHA for 0f29cc4
src/saml2/s2repoze/plugins/sp.py
@@ -470,7 +470,7 @@ def identify(self, environ):
470
471
is_request = "SAMLRequest" in query
472
is_response = "SAMLResponse" in query
473
- has_content_length = "CONTENT_LENGTH" in environ or environ["CONTENT_LENGTH"]
+ has_content_length = environ.get("CONTENT_LENGTH")
474
475
if not has_content_length and not is_request and not is_response:
476
logger.debug("[identify] get or empty post")
0 commit comments