Fix navigation failure when https referer is set for an http url.
Referrer::SanitizeForRequest() needs to be called on the embedder supplied referer because the default behavior is to strip it when there's an https referer but an http url. The network service notices this discrepancy and fails the navigation. Bug: 1172455 Change-Id: I7ebe62cc5aeea37eac65b7147a3cf21340becc94 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2660062 Commit-Queue: Scott Violet <sky@chromium.org> Auto-Submit: John Abd-El-Malek <jam@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#848825}
Loading
Please register or sign in to comment