Skip to content

Commit

Permalink
Merge pull request lorenzodifuccia#307 from left-blank/patch-1
Browse files Browse the repository at this point in the history
sso_cookies.py: Parse according to RFC 6265.
@left-blank Thank you 馃檹
  • Loading branch information
lorenzodifuccia committed Jan 21, 2022
2 parents 35d79b2 + 35bb829 commit 37ba660
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sso_cookies.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@

def transform(cookies_string):
cookies = {}
for cookie in cookies_string.split(";"):
cookie = cookie.strip()
for cookie in cookies_string.split("; "):
key, value = cookie.split("=", 1)
cookies[key] = value

Expand Down

0 comments on commit 37ba660

Please sign in to comment.