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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/security/resources/send-mime-types.php
===================================================================
--- LayoutTests/http/tests/security/resources/send-mime-types.php (revision 0)
+++ LayoutTests/http/tests/security/resources/send-mime-types.php (revision 49838)
@@ -0,0 +1,9 @@
+<?php
+ $mime_type = urldecode($_GET["mt"]);
+
+ header("Content-Type: ".$mime_type);
+
+ echo "<script>";
+ echo "alert('FAIL: ".$mime_type."');";
+ echo "</script>";
+?>
« 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