mirror of
https://github.com/lexmount/moli.git
synced 2026-10-06 08:00:59 +00:00
test(csp): cover encoded commas across policy parsing and URL matching
This commit is contained in:
@@ -2224,6 +2224,11 @@ mod tests {
|
||||
"https://cdn.test/foo%2cbar",
|
||||
true,
|
||||
),
|
||||
(
|
||||
"img-src https://cdn.test/foo%2cbar",
|
||||
"https://cdn.test/foo,bar",
|
||||
true,
|
||||
),
|
||||
(
|
||||
", , img-src * , , img-src 'none', ,",
|
||||
"https://cdn.test/asset",
|
||||
|
||||
Reference in New Issue
Block a user