File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -350,7 +350,7 @@ public static function fromFile(string $filename = ''): self
350
350
/**
351
351
* Factory method - create a new CSPBuilder object from an existing CSP header
352
352
*
353
- * @param string $headre
353
+ * @param string $header
354
354
* @return self
355
355
* @throws Exception
356
356
*/
Original file line number Diff line number Diff line change @@ -102,5 +102,9 @@ public static function cspDirectivesProvider(): \Generator
102
102
"plugin-types application/x-java-applet " ,
103
103
"plugin-types application/x-java-applet "
104
104
];
105
+ yield [
106
+ "form-action 'none'; sandbox allow-scripts; style-src-attr 'none'; worker-src https://example.com/ " ,
107
+ "form-action 'none'; sandbox allow-scripts; style-src-attr 'none'; worker-src https://example.com/ "
108
+ ];
105
109
}
106
110
}
You can’t perform that action at this time.
0 commit comments