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 ?
Unittests on CSP are broken.
These two are failing. because initialization of the class
CSPDirective
seems to get rid of second value in tuples such asCHILD_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 asgetEffectiveDirective()
. Could you provide some explanation ?