mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
Each record in cookies.txt must have seven columns at most.
This commit is contained in:
parent
c727d39076
commit
e18013e25e
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ class HTTP::Cookie
|
|||
path, # Path for which the cookie is relevant
|
||||
s_secure, # Requires a secure connection
|
||||
s_expires, # Time the cookie expires (Unix epoch time)
|
||||
name, value = line.split("\t")
|
||||
name, value = line.split("\t", 7)
|
||||
return nil if value.nil?
|
||||
|
||||
value.chomp!
|
||||
|
|
|
|||
Loading…
Reference in a new issue