CSP mechanism in case error.html served #15685
Unanswered
lstraka-telekom
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Also, as noted in the docs of the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am a beginer in case of security ..I need to adapt CSP headers for our sveltekit project to be compliant with the company security compliance...One of the requirements says something about specifically handle also
404.html
etc static error pages (in general I think its for webservers like nginx etc.) I ll try to simulate error, when the error.html is served to me, and I found that the response header does not contain CSP ...for a valid app.html it's works perfectly, so it use the directives set insvelte.config.js
inkit.csp.directives[]
..but for error.html it makes nothing ..Is that compliant? Or to adapt that I need some different workaround or what do you think ?? ...Thanks for you replies...
Beta Was this translation helpful? Give feedback.
All reactions