Skip to content

Fail on not-set cookies? #49

@vemv-kantox

Description

@vemv-kantox

If I am in mydomain.com and attempt to Cookies.set('foo', 'bar', {domain: 'ANOTHERdomain.com'}), nothing will happen, as I understand it.

In other words, the write silently fails. Wouldn't it be good to do some sanity checks regarding secure/domain/path options for ensuring .set always does what we believe to?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions