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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/referrerPolicyHeader/resources/referrer-and-host.php

Issue 2151693009: Preserve referrer across CORS-enabled redirects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comment Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?
2 header('Access-Control-Allow-Origin: *');
3 header('Content-Type: text/json');
4 ?>
5 {
6 "referrer": "<? echo $_SERVER['HTTP_REFERER']; ?>",
7 "host": "<? echo $_SERVER['HTTP_HOST']; ?>"
8 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698