Skip to content

Might want to do input validation for ; #238

@bartslinger

Description

@bartslinger

When building a cookie like this:

cookie::Cookie::build("name", "somevalue; Max-Age=86400")

This gets injected into the cookie. Especially when taking user input as a cookie value, that might result in undesirable behavior. There might be more characters than ; to check for.

I'm not sure if this crate is the right place to do validation. If not, feel free to close.

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