mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
Removed comparison against `DomainName#cookie_domain?` during filtering of jar cookies. It was redundant considering the later call to `HTTP::Cookie#valid_for_url?` and prevented valid host-only cookies from being considered for unqualified hostnames (e.g. "localhost"). RFC 6265 (5.4) does not restrict host-only cookies from being used with such unqualified names as it does for cookies with the domain attribute set. |
||
|---|---|---|
| .. | ||
| http | ||
| http-cookie.rb | ||