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

Side by Side Diff: LayoutTests/http/tests/media/resources/video-check-userpass.php

Issue 286993008: For media element fetches, remove user:pass components always. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Improve comment Created 6 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/media/video-load-with-userpass.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <?php
2
3 $auth = $_SERVER["HTTP_AUTHORIZATION"];
4 $url = $_SERVER["REQUEST_URI"];
5
6 if (isset($auth) || stripos($url, "user:pass") !== false)
7 die;
8
9 $fileName = $_GET["name"];
10 $type = $_GET["type"];
11
12 $_GET = array();
13 $_GET['name'] = $fileName;
14 $_GET['type'] = $type;
15 @include("./serve-video.php");
16
17 ?>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/media/video-load-with-userpass.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698