Index: LayoutTests/http/tests/media/resources/video-check-userpass.php |
diff --git a/LayoutTests/http/tests/media/resources/video-check-userpass.php b/LayoutTests/http/tests/media/resources/video-check-userpass.php |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f51df57e117192cd5c91b8f6478ae68f1ec34cd5 |
--- /dev/null |
+++ b/LayoutTests/http/tests/media/resources/video-check-userpass.php |
@@ -0,0 +1,17 @@ |
+<?php |
+ |
+ $auth = $_SERVER["HTTP_AUTHORIZATION"]; |
+ $url = $_SERVER["REQUEST_URI"]; |
+ |
+ if (isset($auth) || stripos($url, "user:pass") !== false) |
+ die; |
+ |
+ $fileName = $_GET["name"]; |
+ $type = $_GET["type"]; |
+ |
+ $_GET = array(); |
+ $_GET['name'] = $fileName; |
+ $_GET['type'] = $type; |
+ @include("./serve-video.php"); |
+ |
+?> |