pb33f / doctor

The Doctor. Just the doctor, no more, no less.
https://pb33f.io
Other
4 stars 3 forks source link

Add missing initialisation of Security slice #1

Closed TheTeaCat closed 8 months ago

TheTeaCat commented 8 months ago

The missing initialisation of this slice makes the case where a security: [] is present indistinguishable from when no security property is present, so it's not possible to detect when security has been removed from a single operation by overriding a global security policy.

See https://github.com/daveshanley/vacuum/issues/431 for more info.