andrewlock / NetEscapades.AspNetCore.SecurityHeaders

Small package to allow adding security headers to ASP.NET Core websites
MIT License
701 stars 73 forks source link

Allow adding multiple uris to CSP builder `AddFrameAncestors()` #179

Closed andrewlock closed 2 months ago

andrewlock commented 2 months ago

AddFrameAncestors() derives from CspDirectiveBuilderBase rather than CspDirectiveBuilder, so the normal extensions don't apply. This adds the equivalent to FrameAncestorsDirectiveBuilder directly

Fixes #178