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

Add section on inline JS with CSPs #34431

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Add section on inline JS with CSPs #34431

wants to merge 5 commits into from

Conversation

guardrex
Copy link
Collaborator

@guardrex guardrex commented Jan 2, 2025

Fixes #34425

Thanks @jbaumflek! 🚀 ... I'll start with this, and I'll ask Steve to review it next week. Let's give him a second to get back into the swing of things now that we're all coming back from the holidays.

BTW ... Ignore my code-fencing activities on the DIFF. I noticed in passing that I didn't have the policy directive cross-link API code-fenced, and I decided to do that here to avoid having to create a new PR. Scroll down to the new Use of inline JavaScript with a CSP section.

I'll keep an 👂 open if you create a product unit issue to discuss this subject with engineering.


Internal previews

📄 File 🔗 Preview link
aspnetcore/blazor/javascript-interoperability/location-of-javascript.md aspnetcore/blazor/javascript-interoperability/location-of-javascript
aspnetcore/blazor/security/content-security-policy.md aspnetcore/blazor/security/content-security-policy
aspnetcore/security/authentication/customize-identity-model.md aspnetcore/security/authentication/customize-identity-model

@guardrex guardrex self-assigned this Jan 2, 2025
@guardrex
Copy link
Collaborator Author

guardrex commented Jan 2, 2025

cc: @tdykstra ...

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/authentication/customize-identity-model.md

The build report says ...

Invalid value for 'ms.author', 'avickers' is not a valid Microsoft alias.

@tdykstra
Copy link
Contributor

tdykstra commented Jan 3, 2025

cc: @tdykstra ...

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/authentication/customize-identity-model.md

The build report says ...

Invalid value for 'ms.author', 'avickers' is not a valid Microsoft alias.

Change ms.author to riande.

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

Successfully merging this pull request may close these issues.

frustration with inline script
2 participants