Skip to content

Commit

Permalink
PP-11850 enclose reporting endpoint url in quotes (#3797)
Browse files Browse the repository at this point in the history
  • Loading branch information
nlsteers authored Feb 7, 2024
1 parent 8cb4ba2 commit 5096c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/middleware/csp.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const worldpayIframeCSP = helmet({
})

const setReportingEndpoints = (req, res, next) => {
res.setHeader('Reporting-Endpoints', `${reportingEndpointName}=${frontendUrl}${paths.csp.path}`)
res.setHeader('Reporting-Endpoints', `${reportingEndpointName}="${frontendUrl}${paths.csp.path}"`)
next()
}

Expand Down

0 comments on commit 5096c9c

Please sign in to comment.