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

Side by Side Diff: LayoutTests/http/tests/security/resources/send-mime-types.php

Issue 2845006: Merge 57386 - 2010-04-09 Abhishek Arya <inferno@chromium.org>... (Closed) Base URL: svn://chrome-svn/chrome/branches/WebKit/375/
Patch Set: Created 10 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/xss-DENIED-mime-type-execute-as-html.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 $mime_type = urldecode($_GET["mt"]);
3
4 header("Content-Type: ".$mime_type);
5
6 echo "<script>";
7 echo "alert('FAIL: ".$mime_type."');";
8 echo "</script>";
9 ?>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/xss-DENIED-mime-type-execute-as-html.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698