Fix error looking at empty port in sp plugin.

This commit is contained in:
Andreas Richter
2014-04-01 11:19:26 -04:00
parent 193bcaff2c
commit 64afc6f255

View File

@@ -508,6 +508,8 @@ class SAML2Plugin(object):
binding = BINDING_HTTP_REDIRECT
else:
post = self._get_post(environ)
if post.list is None:
post.list = []
binding = BINDING_HTTP_POST
try: