refactor: use url::DomainIs() to check cookie domains (#43262)
* test: add tests to exercise pre-exsiting cookie domain matching behavior * refactor: use url::DomainIs() to match cookie domains * docs: fix typo
This commit is contained in:
parent
c4dfff9844
commit
c35739d60d
3 changed files with 56 additions and 20 deletions
|
@ -74,7 +74,7 @@ The following methods are available on instances of `Cookies`:
|
|||
`url`. Empty implies retrieving cookies of all URLs.
|
||||
* `name` string (optional) - Filters cookies by name.
|
||||
* `domain` string (optional) - Retrieves cookies whose domains match or are
|
||||
subdomains of `domains`.
|
||||
subdomains of `domain`.
|
||||
* `path` string (optional) - Retrieves cookies whose path matches `path`.
|
||||
* `secure` boolean (optional) - Filters cookies by their Secure property.
|
||||
* `session` boolean (optional) - Filters out session or persistent cookies.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue