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
Accelerator
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
Type
/
to 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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
BetterErrors
/
better_errors
Public
Notifications
You must be signed in to change notification settings
Fork
432
Star
6.9k
Code
Issues
48
Pull requests
20
Discussions
Actions
Projects
Wiki
Security and quality
1
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Add Content Security Policy
- #497
#497
Merged
RobinDaugherty
merged 7 commits into
master
BetterErrors/better_errors:master
from
feature/content-security-policy
BetterErrors/better_errors:feature/content-security-policy
Copy head branch name to clipboard
Dec 11, 2020
Conversation
Commits
7
(7)
Checks
Files changed
Merged
Add Content Security Policy
#497
RobinDaugherty
merged 7 commits into
master
BetterErrors/better_errors:master
from
feature/content-security-policy
BetterErrors/better_errors:feature/content-security-policy
Copy head branch name to clipboard
Commits
Commits on Dec 11, 2020
Content Security Policy for inline scripts
RobinDaugherty
committed
66dee5e
View commit details
Copy full SHA for 66dee5e
Browse repository at this point
Use class instead of style attribute for frame_info
RobinDaugherty
committed
d601803
View commit details
Copy full SHA for d601803
Browse repository at this point
Heavily restrict CSP
RobinDaugherty
committed
834a877
View commit details
Copy full SHA for 834a877
Browse repository at this point
Decouple variable_info from ErrorPage instance
RobinDaugherty
committed
0c7c62c
View commit details
Copy full SHA for 0c7c62c
Browse repository at this point
JS-less and CSS-less notices
RobinDaugherty
committed
fff870b
View commit details
Copy full SHA for fff870b
Browse repository at this point
Add editor link scheme to the CSP
RobinDaugherty
committed
855d40a
View commit details
Copy full SHA for 855d40a
Browse repository at this point
Include JS notice at the top if style is unavailable
RobinDaugherty
committed
b9d9ab7
View commit details
Copy full SHA for b9d9ab7
Browse repository at this point
You can’t perform that action at this time.