Bug: cookie value may be empty. #35804
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
library-_http
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
When response cookie's value is empty, dart sdk will cause an exception.
cookie:
Log
I have seen the source code, and find this line
sdk/sdk/lib/_http/http_headers.dart
Line 989 in a9ad427
value
is not test whether is empty before using it.The text was updated successfully, but these errors were encountered: