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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/echo-post.php

Issue 1918253002: CREDENTIAL: Credentials should be submitted within a registrable domain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: vabr@ Created 4 years, 7 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
1 <?php 1 <?php
2 $request_origin_value = $_SERVER["HTTP_ORIGIN"];
3 if (!is_null($request_origin_value)) {
4 header("Access-Control-Allow-Origin: $request_origin_value");
5 header("Access-Control-Allow-Credentials: true");
6 header("Access-Control-Allow-Methods: GET,POST,OPTIONS");
7 }
2 echo json_encode($_POST); 8 echo json_encode($_POST);
3 ?> 9 ?>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698