mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
Bug 1122445 - CSP: don't normalize path for CSP checks - test updates (r=sstamm)
This commit is contained in:
parent
ba632b1091
commit
5a43979bbc
@ -62,6 +62,12 @@ var policies = [
|
||||
["blocked", "test1.example.com:8888/tests"],
|
||||
["blocked", "test1.example.com:8888/tests/dom/base/test/csp"],
|
||||
["blocked", "test1.example.com:8888/tests/dom/base/test/csp/file_csp_path_matching.py"],
|
||||
|
||||
// case insensitive matching for scheme and host, but case sensitive matching for paths
|
||||
["allowed", "HTTP://test1.EXAMPLE.com/tests/"],
|
||||
["allowed", "test1.EXAMPLE.com/tests/"],
|
||||
["blocked", "test1.example.com/tests/dom/base/test/CSP/?foo=val"],
|
||||
["blocked", "test1.example.com/tests/dom/base/test/csp/FILE_csp_path_matching.js?foo=val"],
|
||||
]
|
||||
|
||||
var counter = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user