rohe/pysaml2 — pull request #63 by paulftw (2013-11-04 05:09:28+00:00)
Title: Fix KeyError when signing http_redirect_message

Without this change I get the following traceback:

>>> pack.http_redirect_message(req.to_string(), destination, sigalg=pack.RSA_SHA1, key=rsa)
Traceback (most recent call last):
File "", line 1, in
File "\pysaml2-1.0.3-py2.7.egg\saml2\pack.py", line 138, in http_redirect_message
string = "&".join([urllib.urlencode({k: args[k]}) for k in _order])
KeyError: 'RelayState'