-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
Unittests on CSP are broken.
self.assertTrue(self.csphash.policyHasScriptHashes())
self.assertTrue(self.csphashcamel.policyHasScriptHashes())
These two are failing. because initialization of the class CSPDirective
seems to get rid of second value in tuples such as CHILD_SRC
. This causes a wrong handling of directives in camelCase.
I'm not sure to really understand why you define a tuple, but then use directive
as a single value in functions such as getEffectiveDirective()
. Could you provide some explanation ?
Metadata
Metadata
Assignees
Labels
No labels