Skip to content

Allow for custom backend URIs #14

@linkognito

Description

@linkognito

The custom-backend and backend policies is currently tied to fixed backend paths (starting with /neos).
Custom backend-like routes (e.g. /monocle) can’t reuse it without patching.

Making the URI matching for custom-backend and backend configurable would allow applying the existing backend CSP to custom paths.

Possible configuration:

Flowpack:
  ContentSecurityPolicy:
    policies:
      custom-backend:
        matchUris:
          - '^/monocle(/.*)?$'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions