DescriptionEscape non-ASCII response headers.
Response headers that are not valid UTF-8 can't be stored in a
base::StringValue, which is always a UTF-8 string, so escape any non-ASCII
values to be safe. This prevents a DCHECK when dev tools' network request
inspector is open and we receive these headers.
BUG=299880
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288357
Patch Set 1 #
Total comments: 2
Messages
Total messages: 12 (0 generated)
|