Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(421)

Issue 2360753002: Cross-origin https->https pings should omit Ping-From header (Closed)

Created:
4 years, 3 months ago by Nate Chapin
Modified:
4 years, 2 months ago
CC:
blink-reviews, chromium-reviews, gavinp+loader_chromium.org, Nate Chapin, loading-reviews_chromium.org, tyoshino+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cross-origin https->https pings should omit Ping-From header https://html.spec.whatwg.org/multipage/semantics.html#hyperlink-auditing part 4 states that a Ping-From header should only be sent for same origin requests or if the document containing the hyperlink is unencrypted. I think this was regressed accidentally in https://trac.webkit.org/changeset/91306 BUG=637459 TEST=PingLoaderTest.HTTPSToHTTPS Committed: https://crrev.com/4d0b173423eb7a234d237fad04829ed0dd660820 Cr-Commit-Position: refs/heads/master@{#421277}

Patch Set 1 #

Total comments: 5

Patch Set 2 : More tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -2 lines) Patch
M third_party/WebKit/Source/core/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/PingLoader.cpp View 2 chunks +5 lines, -2 lines 0 comments Download
A third_party/WebKit/Source/core/loader/PingLoaderTest.cpp View 1 1 chunk +104 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (16 generated)
Nate Chapin
https://codereview.chromium.org/2360753002/diff/1/third_party/WebKit/Source/core/loader/PingLoader.cpp File third_party/WebKit/Source/core/loader/PingLoader.cpp (right): https://codereview.chromium.org/2360753002/diff/1/third_party/WebKit/Source/core/loader/PingLoader.cpp#newcode448 third_party/WebKit/Source/core/loader/PingLoader.cpp:448: if (!pingURL.protocolIsInHTTPFamily()) I don't think this is explicitly enforced ...
4 years, 3 months ago (2016-09-21 23:14:19 UTC) #8
Mike West
+Jochen for the referrer policy question. https://codereview.chromium.org/2360753002/diff/1/third_party/WebKit/Source/core/loader/PingLoader.cpp File third_party/WebKit/Source/core/loader/PingLoader.cpp (right): https://codereview.chromium.org/2360753002/diff/1/third_party/WebKit/Source/core/loader/PingLoader.cpp#newcode448 third_party/WebKit/Source/core/loader/PingLoader.cpp:448: if (!pingURL.protocolIsInHTTPFamily()) On ...
4 years, 2 months ago (2016-09-26 07:50:30 UTC) #11
jochen (gone - plz use gerrit)
On 2016/09/26 at 07:50:30, mkwst wrote: > +Jochen for the referrer policy question. > > ...
4 years, 2 months ago (2016-09-26 12:19:48 UTC) #12
Nate Chapin
https://codereview.chromium.org/2360753002/diff/1/third_party/WebKit/Source/core/loader/PingLoader.cpp File third_party/WebKit/Source/core/loader/PingLoader.cpp (right): https://codereview.chromium.org/2360753002/diff/1/third_party/WebKit/Source/core/loader/PingLoader.cpp#newcode448 third_party/WebKit/Source/core/loader/PingLoader.cpp:448: if (!pingURL.protocolIsInHTTPFamily()) On 2016/09/26 07:50:30, Mike West (OOO until ...
4 years, 2 months ago (2016-09-26 21:17:45 UTC) #13
Mike West
LGTM. I'll argue with Jochen in https://github.com/w3c/webappsec-referrer-policy/issues/70, but that's not something you need to address ...
4 years, 2 months ago (2016-09-27 07:58:59 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2360753002/20001
4 years, 2 months ago (2016-09-27 17:24:15 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-09-27 18:34:25 UTC) #22
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 18:38:55 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4d0b173423eb7a234d237fad04829ed0dd660820
Cr-Commit-Position: refs/heads/master@{#421277}

Powered by Google App Engine
This is Rietveld 408576698