Skip to content

Unable to setCookie, when name starting with "/" #704

Closed
@skbhardwaj

Description

@skbhardwaj

Hi,

I tried to set cookie with starting character "/", unfortunately its generating "TypeError: argument name is invalid".

CSB link - https://codesandbox.io/p/devbox/react-cookie-setcookie-issue-k8wc4x?file=%2Fapp%2Fpage.tsx%3A24%2C8

Am i missing something?

Thanks & kind regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions