-
Takashi Toyoshima authored
Host header is expected to be set by the network stack and the value should be aligned with the destination host, or |url| in the ResourceRequest. Users' JavaScripts can not set this header because the name is listed in |forbidden header name| of the fetch spec, but still mojo IPC can be compromised potentially, and having this second check in the network service would reduce security risk. Bug: 925359 Change-Id: Idfe9209fec9c5ed72c384ff2592e02c96a2e77a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1601086 Auto-Submit: Takashi Toyoshima <toyoshim@chromium.org> Reviewed-by:
Yutaka Hirano <yhirano@chromium.org> Reviewed-by:
Raymes Khoury <raymes@chromium.org> Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org> Cr-Commit-Position: refs/heads/master@{#659373}
9f2a4f4a