Skip to content

net/http: accept cookies with space in the name #11519

Closed
@ailg

Description

@ailg

Hello,

net/http does not allow space in cookie name. That's what the RFC mandates unfortunately broken web applications set cookies with names containing a space.

Repro: http://play.golang.org/p/MhiJ2KKFqA

I see we're already flexible for values, so maybe we can be flexible for names too?
CL: https://go-review.googlesource.com/#/c/11863/

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions