Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: cookie name can't contain "[" and "]" #20429
Golang 1.8, Ubuntu 16.04 64 Bit, Golang cannot using [ and ] for cookie name. for example
it will not be set,
it happen in httpserver and http client, for example this website ricardoalcala.com will set cookies that contain [ and ] in cookies name, if i make http request using cookiejar that cookie will not be save.
So: works as intended as a valid cookie-name must contain neither "[" nor "]".
If ricardoalcala.com really tries to set cookies with [ or ] in the name, then it is