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

Unified Diff: Tools/Scripts/webkitpy/layout_tests/servers/lighttpd.conf

Issue 125513003: Test case for when the XSS vector is in the path. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase test. Created 6 years, 11 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 | « LayoutTests/http/tests/security/xssAuditor/resources/echo-form-action.pl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/Scripts/webkitpy/layout_tests/servers/lighttpd.conf
diff --git a/Tools/Scripts/webkitpy/layout_tests/servers/lighttpd.conf b/Tools/Scripts/webkitpy/layout_tests/servers/lighttpd.conf
index 4360c37d9d81227a61a30e36f3ec870cdaf72afd..5ac4a26331a460f855a14e0b994e9e9105e668f6 100644
--- a/Tools/Scripts/webkitpy/layout_tests/servers/lighttpd.conf
+++ b/Tools/Scripts/webkitpy/layout_tests/servers/lighttpd.conf
@@ -65,7 +65,8 @@ dir-listing.activate = "enable"
# LayoutTests/http/tests/appcache/resources/intercept/.htaccess
url.rewrite-once = (
"^/uri/intercept/(.*)" => "/uri/resources/print-uri.php",
- "^/appcache/resources/intercept/(.*)" => "/appcache/resources/print-uri.php"
+ "^/appcache/resources/intercept/(.*)" => "/appcache/resources/print-uri.php",
+ "^/security/xssAuditor/intercept/([^/]*)/(.*)" => "/security/xssAuditor/resources/$1?q=$2"
)
# LayoutTests/http/tests/xmlhttprequest/response-encoding.html uses an htaccess
« no previous file with comments | « LayoutTests/http/tests/security/xssAuditor/resources/echo-form-action.pl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698