Spelling error. Added and extra parameter check.
This commit is contained in:
@@ -132,8 +132,13 @@ class Service(object):
|
||||
else:
|
||||
# saml_msg may also contain Signature and SigAlg
|
||||
if "Signature" in saml_msg:
|
||||
kwargs = {"signature": saml_msg["signature"],
|
||||
"sigalg": saml_msg["SigAlg"]}
|
||||
try:
|
||||
kwargs = {"signature": saml_msg["Signature"],
|
||||
"sigalg": saml_msg["SigAlg"]}
|
||||
except KeyError:
|
||||
resp = BadRequest(
|
||||
'Signature Algorithm specification is missing')
|
||||
return resp(self.environ, self.start_response)
|
||||
else:
|
||||
kwargs = {}
|
||||
try:
|
||||
|
Reference in New Issue
Block a user