Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
spring-projects
/
spring-security
Public
Notifications
You must be signed in to change notification settings
Fork
6.4k
Star
9.6k
Code
Issues
1.3k
Pull requests
212
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Support nonce-based Content Security Policy
- #18499
#18499
Open
ziqin
wants to merge 26 commits into
spring-projects:main
spring-projects/spring-security:main
from
ziqin:gh-10826
ziqin/spring-security:gh-10826
Copy head branch name to clipboard
Conversation
Commits
26
(26)
Checks
Files changed
Open
Support nonce-based Content Security Policy
#18499
ziqin
wants to merge 26 commits into
spring-projects:main
spring-projects/spring-security:main
from
ziqin:gh-10826
ziqin/spring-security:gh-10826
Copy head branch name to clipboard
Commits
Commits on Mar 29, 2026
Fix method chaining for ContentSecurityPolicySpec
Show description for 381dc38
ziqin
committed
381dc38
View commit details
Copy full SHA for 381dc38
Browse repository at this point
Support nonce-based Content-Security-Policy
Show description for a91d888
ziqin
committed
a91d888
View commit details
Copy full SHA for a91d888
Browse repository at this point
Support configuring nonce-based Content-Security-Policy
Show description for 0ecdc80
ziqin
committed
0ecdc80
View commit details
Copy full SHA for 0ecdc80
Browse repository at this point
Commits on Apr 3, 2026
Revert "Fix method chaining for ContentSecurityPolicySpec"
Show description for 1cec465
ziqin
committed
1cec465
View commit details
Copy full SHA for 1cec465
Browse repository at this point
Make nonce-generating filters ad hoc instead of general-purpose
Show description for 66c0242
ziqin
committed
66c0242
View commit details
Copy full SHA for 66c0242
Browse repository at this point
Defer CSP nonce generation
Show description for 56e3884
ziqin
committed
56e3884
View commit details
Copy full SHA for 56e3884
Browse repository at this point
Remove Javadoc since tags in CSP tests
Show description for 6e3e094
ziqin
committed
6e3e094
View commit details
Copy full SHA for 6e3e094
Browse repository at this point
Fix typo in ContentSecurityPolicyDsl KDoc
Show description for 855e946
ziqin
committed
855e946
View commit details
Copy full SHA for 855e946
Browse repository at this point
Separate internal nonce attr from attr exposed for views
Show description for bf6f1d4
ziqin
committed
bf6f1d4
View commit details
Copy full SHA for bf6f1d4
Browse repository at this point
Rename requireCspMatcher to requestMatcher
Show description for 4c838b3
ziqin
committed
4c838b3
View commit details
Copy full SHA for 4c838b3
Browse repository at this point
Polish filter chain config for CSP
Show description for acf956a
ziqin
committed
acf956a
View commit details
Copy full SHA for acf956a
Browse repository at this point
Remove isNonceBased() from header writers
Show description for 939ae10
ziqin
committed
939ae10
View commit details
Copy full SHA for 939ae10
Browse repository at this point
Avoid tying CSP {nonce} placeholder to specific stacks
Show description for f666e44
ziqin
committed
f666e44
View commit details
Copy full SHA for f666e44
Browse repository at this point
Commits on Apr 4, 2026
Deprecate ContentSecurityPolicySpec#reportOnly(boolean)
Show description for 11279f9
ziqin
committed
11279f9
View commit details
Copy full SHA for 11279f9
Browse repository at this point
Deprecate ContentSecurityPolicySpec#policyDirectives(String)
Show description for 32a8249
ziqin
committed
32a8249
View commit details
Copy full SHA for 32a8249
Browse repository at this point
Commits on Sep 3, 2026
Revert deprecation about method chaining in ContentSecurityPolicySpec
Show description for 0fbc676
ziqin
committed
0fbc676
View commit details
Copy full SHA for 0fbc676
Browse repository at this point
Commits on Sep 6, 2026
Move request matcher to CSP header writer and improve config
Show description for 6c1fbf3
ziqin
committed
6c1fbf3
View commit details
Copy full SHA for 6c1fbf3
Browse repository at this point
Undo changes about header writer disabling and composition
Show description for 15a761e
ziqin
committed
15a761e
View commit details
Copy full SHA for 15a761e
Browse repository at this point
Avoid failing fast in CompositeServerHttpHeadersWriter
Show description for 2be35ce
ziqin
committed
2be35ce
View commit details
Copy full SHA for 2be35ce
Browse repository at this point
Avoid failing fast in CompositeHeaderWriter
Show description for cba8dd8
ziqin
committed
cba8dd8
View commit details
Copy full SHA for cba8dd8
Browse repository at this point
Undo changes on visibility of CSP header constants
Show description for 3dae3b0
ziqin
committed
3dae3b0
View commit details
Copy full SHA for 3dae3b0
Browse repository at this point
Introduce a getter for CSP nonce
Show description for aeeafb9
ziqin
committed
aeeafb9
View commit details
Copy full SHA for aeeafb9
Browse repository at this point
Update Javadoc @since version for nonce-based CSP to 7.2
Show description for 9ebbf70
ziqin
committed
9ebbf70
View commit details
Copy full SHA for 9ebbf70
Browse repository at this point
Commits on Sep 10, 2026
Support nonce-based CSP in XML namespace config
Show description for 55d55a9
ziqin
committed
55d55a9
View commit details
Copy full SHA for 55d55a9
Browse repository at this point
Remove isNonceBased field from ContentSecurityPolicyHeaderWriter
Show description for d0733be
ziqin
committed
d0733be
View commit details
Copy full SHA for d0733be
Browse repository at this point
Commits on Sep 25, 2026
Remove isNonceBased from ContentSecurityPolicyServerHttpHeadersWriter
Show description for 8298ded
ziqin
committed
8298ded
View commit details
Copy full SHA for 8298ded
Browse repository at this point
You can’t perform that action at this time.