Merge pull request #48815 from pengyao/salt_utils_http_parse_cookie_header

Fix parse_cookie_header function cookie name always None
This commit is contained in:
Nicole Thomas 2018-07-31 16:48:02 -04:00 committed by GitHub
commit 12081f2ef3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -921,6 +921,7 @@ def parse_cookie_header(header):
for item in list(cookie):
if item in attribs:
continue
name = item
value = cookie.pop(item)
# cookielib.Cookie() requires an epoch