Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate cookie values wrapped in double-quotes
Servers sometimes send headers with cookie values that are encapsulated in double-quotes. Dart should validate values surrounded with double-quotes instead of throwing a FormatException. This addresses Issue #33327 directly. I applied the solution to this problem that was [solved in Go's code base](https://github.com/golang/go/blob/master/src/net/http/cookie.go#L369). Closes #33765 #33765 GitOrigin-RevId: 99672dd Change-Id: Ie95a064611b1aa15aea93f5c8d801ecfc7d996c4 Reviewed-on: https://dart-review.googlesource.com/63920 Reviewed-by: Zach Anderson <zra@google.com> Commit-Queue: Zach Anderson <zra@google.com>
- Loading branch information