diff options
author | Roland Hedberg <roland.hedberg@adm.umu.se> | 2013-01-31 12:13:14 +0100 |
---|---|---|
committer | Roland Hedberg <roland.hedberg@adm.umu.se> | 2013-01-31 12:13:14 +0100 |
commit | 835c6d93a1427a03355ad707963eedb8ff9796ea (patch) | |
tree | 26da95f56f68570b2c0f8f5f1a34d8b0737a1519 /src | |
parent | e6bc6701d97a846f22b19661d3cd189f898ee111 (diff) | |
download | pysaml2-835c6d93a1427a03355ad707963eedb8ff9796ea.tar.gz |
Cookie expire parameter may be None (= for ever).
Diffstat (limited to 'src')
-rw-r--r-- | src/saml2/httpbase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/httpbase.py b/src/saml2/httpbase.py index 4b016472..0eb66661 100644 --- a/src/saml2/httpbase.py +++ b/src/saml2/httpbase.py @@ -104,7 +104,7 @@ class HTTPBase(object): for _, b in a.items(): for cookie in list(b.values()): # print cookie - if cookie.expires <= now: + if cookie.expires and cookie.expires <= now: continue if not re.match(cookie.path, part.path): continue |