Skip to content

Commit 64afc6f

Browse files
Andreas RichterAndreas Richter
authored andcommitted
Fix error looking at empty port in sp plugin.
1 parent 193bcaf commit 64afc6f

File tree

1 file changed

+2
-0
lines changed
  • src/s2repoze/plugins

1 file changed

+2
-0
lines changed

src/s2repoze/plugins/sp.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,8 @@ def identify(self, environ):
508508
binding = BINDING_HTTP_REDIRECT
509509
else:
510510
post = self._get_post(environ)
511+
if post.list is None:
512+
post.list = []
511513
binding = BINDING_HTTP_POST
512514

513515
try:

0 commit comments

Comments
 (0)