summaryrefslogtreecommitdiffstats
path: root/LayoutTests/http/tests/security/resources/abe-allow-star.php
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/http/tests/security/resources/abe-allow-star.php')
-rw-r--r--LayoutTests/http/tests/security/resources/abe-allow-star.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/LayoutTests/http/tests/security/resources/abe-allow-star.php b/LayoutTests/http/tests/security/resources/abe-allow-star.php
new file mode 100644
index 0000000..d3d621d
--- /dev/null
+++ b/LayoutTests/http/tests/security/resources/abe-allow-star.php
@@ -0,0 +1,11 @@
+<?php
+header("Access-Control-Allow-Origin: *");
+
+$name = 'abe.png';
+$fp = fopen($name, 'rb');
+header("Content-Type: image/png");
+header("Content-Length: " . filesize($name));
+
+fpassthru($fp);
+exit;
+?>