krakenjs / lusca

Application security for express apps.
Other
1.79k stars 139 forks source link

req.locals.nonce -> res.locals.nonce #125

Closed theel0ja closed 5 years ago

theel0ja commented 6 years ago

No references to req.locals.nonce and doesn't work.

https://github.com/krakenjs/lusca/blob/ae7cb1169c9f61d754f3c0e6c4d6f7ff42067509/lib/csp.js#L42-L59

linkRace commented 5 years ago

👍 thanks