Skip to content

Variables not substituted #3

@audunru

Description

@audunru
        Log::channel($this->channel)->warning('CSP violation: {directive} blocked {url}', [
            'directive' => $report->body->effectiveDirective,
            'url' => $report->body->blockedURL,
            'page' => $report->url,
        ]);

shows up as CSP violation: {directive} blocked {url} in logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions