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 b5bac9f commit 468b1baCopy full SHA for 468b1ba
src/s2repoze/plugins/sp.py
@@ -26,6 +26,8 @@
26
import traceback
27
from urlparse import parse_qs, urlparse
28
29
+from StringIO import StringIO
30
+
31
from paste.httpexceptions import HTTPSeeOther, HTTPRedirection
32
from paste.httpexceptions import HTTPNotImplemented
33
from paste.httpexceptions import HTTPInternalServerError
@@ -480,6 +482,8 @@ def identify(self, environ):
480
482
# Not for me, put the post back where next in line can
481
483
# find it
484
environ["post.fieldstorage"] = post
485
+ # restore wsgi.input incase that is needed
486
+ environ['wsgi.input'] = StringIO(environ['s2repoze.body'])
487
return {}
488
else:
489
logger.info("[sp.identify] --- SAMLResponse ---")
0 commit comments