Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support CSP nonce for <Script> component #157

Open
Jxck opened this issue Apr 23, 2024 · 1 comment
Open

support CSP nonce for <Script> component #157

Jxck opened this issue Apr 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Jxck
Copy link

Jxck commented Apr 23, 2024

What is the feature you are proposing?

https://github.com/honojs/honox/blob/main/src/server/components/script.tsx

<Script> component doesn't supports nonce value for CSP.
It's required to serve nonce based CSP for security practices.

@usualoma
Copy link
Member

I believe that once the following two PRs are merged, it will be possible to easily add nonce to Script elements in honox.

#164
honojs/hono#2577

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants