mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
Store special cookies properly.
"Special" cookies here mean those of public suffixes and IP addresses.
This commit is contained in:
parent
91b5184d96
commit
4f526857aa
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ class HTTP::CookieJar
|
|||
])
|
||||
|
||||
@st_add.execute({
|
||||
:baseDomain => cookie.domain_name.domain,
|
||||
:baseDomain => cookie.domain_name.domain || cookie.domain,
|
||||
:appId => @app_id,
|
||||
:inBrowserElement => @in_browser_element ? 1 : 0,
|
||||
:name => cookie.name, :value => cookie.value,
|
||||
|
|
|
|||
Loading…
Reference in a new issue