Descriptionnet/http: allow commas and spaces in cookie values
According to RFC 6265 a cookie value may contain neither
commas nor spaces but such values are very common in the
wild and browsers handle them very well so we'll allow
both commas and spaces.
Values starting or ending in a comma or a space are
sent in the quoted form to prevent missinterpetations.
RFC 6265 conforming values are handled as before and
semicolons, backslashes and double-quotes are still
disallowed.
Fixes issue 7243
Patch Set 1 #Patch Set 2 : diff -r 1eaf29392348 https://code.google.com/p/go/ #Patch Set 3 : diff -r 07e31caba5b6 https://code.google.com/p/go/ #Patch Set 4 : diff -r 07e31caba5b6 https://code.google.com/p/go/ #Patch Set 5 : diff -r 07e31caba5b6 https://code.google.com/p/go/ #
Total comments: 6
Patch Set 6 : diff -r 04ab9968c31b https://code.google.com/p/go/ #
Total comments: 4
Patch Set 7 : diff -r 04ab9968c31b https://code.google.com/p/go/ #MessagesTotal messages: 9
|