Fixed origin testJam
authorpuhley
Thu, 03 May 2012 16:36:21 -0700
branchtestJam
changeset 60 eabaab2333a4
parent 59 cf04909e5908
child 61 66a94a1d94cd
Fixed origin
tests/cors/submitted/webkit/resources/access-control-basic-whitelist-request-headers.php
--- a/tests/cors/submitted/webkit/resources/access-control-basic-whitelist-request-headers.php	Thu May 03 16:29:48 2012 -0700
+++ b/tests/cors/submitted/webkit/resources/access-control-basic-whitelist-request-headers.php	Thu May 03 16:36:21 2012 -0700
@@ -3,7 +3,7 @@
 
     if ($_SERVER['REQUEST_METHOD'] == "POST") {
     	header("Access-Control-Allow-Credentials: true");
-    	header("Access-Control-Allow-Origin:" . $_SERVER["HTTP_ORIGIN"]);
+    	header("Access-Control-Allow-Origin: http://127.0.0.1:80");
 
     	header("Accept: " . $_SERVER['HTTP_ACCEPT']);
     	header("Accept-Language: " . $_SERVER['HTTP_ACCEPT_LANGUAGE']);