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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/resources/redirect-cors-origin-null-pass.php

Issue 20735002: CORS: Fix the handling of redirected request containing Origin null. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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 <?php
2 $request_origin_value = $_SERVER["HTTP_ORIGIN"];
3 if (!is_null($request_origin_value)) {
4 header("Access-Control-Allow-Origin: null");
5 echo "PASS";
6 }
7 ?>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698