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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
segmentio
/
ui-box
Public
Notifications
You must be signed in to change notification settings
Fork
53
Star
1.1k
Code
Issues
6
Pull requests
13
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Extend safeHref
- #58
#58
Open
colinlohner
wants to merge 12 commits into
master
segmentio/ui-box:master
from
feature/extend-safe-href
segmentio/ui-box:feature/extend-safe-href
Copy head branch name to clipboard
Conversation
Commits
12
(12)
Checks
Files changed
Open
Extend safeHref
#58
colinlohner
wants to merge 12 commits into
master
segmentio/ui-box:master
from
feature/extend-safe-href
segmentio/ui-box:feature/extend-safe-href
Copy head branch name to clipboard
Commits
Commits on Mar 26, 2020
Update safeHref to remove `data:` protocol, allow custom safe protocols to be added, and to overwrite and allow protocol from component
colinlohner
committed
17c0926
View commit details
Copy full SHA for 17c0926
Browse repository at this point
Update readme to reflect changes to safeHref
colinlohner
committed
0ce02d7
View commit details
Copy full SHA for 0ce02d7
Browse repository at this point
Commits on Mar 30, 2020
Clean up custom protocol implimentation
colinlohner
committed
fa8f3e0
View commit details
Copy full SHA for fa8f3e0
Browse repository at this point
Change `allowProtocol` -> `allowProtocols`
colinlohner
committed
08cd418
View commit details
Copy full SHA for 08cd418
Browse repository at this point
Update whitespace checking to be more robust
colinlohner
committed
c243da7
View commit details
Copy full SHA for c243da7
Browse repository at this point
Add some testing, and a function to reset custom protocols
colinlohner
committed
a390a73
View commit details
Copy full SHA for a390a73
Browse repository at this point
Change Typing
Show description for 59aa408
colinlohner
and
mshwery
authored
59aa408
View commit details
Copy full SHA for 59aa408
Browse repository at this point
Change typing
Show description for 70f6dfa
colinlohner
and
mshwery
authored
70f6dfa
View commit details
Copy full SHA for 70f6dfa
Browse repository at this point
Fix typo
colinlohner
committed
df06920
View commit details
Copy full SHA for df06920
Browse repository at this point
Update to use `trim` cause im silly
colinlohner
committed
21ebb43
View commit details
Copy full SHA for 21ebb43
Browse repository at this point
Minor update to the tests
colinlohner
committed
1e05213
View commit details
Copy full SHA for 1e05213
Browse repository at this point
Update console error to match existing error
colinlohner
committed
2e63d6b
View commit details
Copy full SHA for 2e63d6b
Browse repository at this point
You can’t perform that action at this time.