Skip to content

Warn on invalid cookie name #12799

Closed
@benmccann

Description

@benmccann

Describe the problem

Latest version of cookie library accepts different cookie names. Need to tell anyone who is setting invalid name to stop so that we can upgrade cookie library in Kit 3.0

Describe the proposed solution

use regex from https://github.com/jshttp/cookie/pull/167/files

put it here:

set(name, value, options) {

Alternatives considered

No response

Importance

nice to have

Additional Information

No response

Metadata

Metadata

Assignees

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