Fix CORS-unsafe request-header byte
Bytes greater than 0x7f should not be considered as unsafe. This CL also replaces "utf8" character conversions in blink/renderer/platform/loader/cors/cors.cc to "latin1" as it's what's done when actually converting blink::HTTPHeaderMap to net::HttpRequestHeaders. Bug: 824130, 902681 Change-Id: I01aacf814f1fc8a3ab8f191e1a9ec2bd01c1efee Reviewed-on: https://chromium-review.googlesource.com/c/1335049Reviewed-by:Takashi Toyoshima <toyoshim@chromium.org> Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#608300}
Showing
Please register or sign in to comment