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 831e06e commit b8c9c25Copy full SHA for b8c9c25
src/saml2/s2repoze/plugins/formswithhidden.py
@@ -1,4 +1,4 @@
1
-import urllib
+from six.moves.urllib.parse import urlencode
2
3
from paste.httpheaders import CONTENT_LENGTH
4
from paste.httpheaders import CONTENT_TYPE
@@ -71,7 +71,7 @@ def identify(self, environ):
71
return None
72
del query[self.login_form_qs]
73
query.update(qinfo)
74
- environ["QUERY_STRING"] = urllib.urlencode(query)
+ environ["QUERY_STRING"] = urlencode(query)
75
environ["repoze.who.application"] = HTTPFound(construct_url(environ))
76
credentials = {"login": login, "password": password}
77
max_age = form.get("max_age", None)
0 commit comments