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

ENG-1138 Add delegate statement html sanitization #810

Merged
merged 6 commits into from
Feb 12, 2025

Conversation

CarlGocht
Copy link
Contributor

@CarlGocht CarlGocht commented Feb 11, 2025

This does both client and server side sanitization and leaves urls available for use

Tested against ENS thoroughly using the given eval statement. Also tested on uniswap the same way.
Tested on ENS using the markdown that we are meant to support from another users delegate statement to make sure this does not interfere with markdown. That user is here https://agora-next-kjr7yzj80-voteagora.vercel.app/delegates/0x0fcd2ead9943194eaa8bc6702a97555aad50455b

Copy link

vercel bot commented Feb 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agora-next-b3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 3:21pm
agora-next-boost ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 3:21pm
agora-next-cyber ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 3:21pm
agora-next-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 3:21pm
agora-next-derive 🔄 Building (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 3:21pm
agora-next-ens 🔄 Building (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 3:21pm
agora-next-etherfi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 3:21pm
agora-next-optimism ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 3:21pm
agora-next-pguild 🔄 Building (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 3:21pm
agora-next-scroll 🔄 Building (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 3:21pm
agora-next-uniswap 🔄 Building (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 3:21pm
agora-next-xai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 3:21pm

Copy link

github-actions bot commented Feb 11, 2025

JIRA Issue: ENG-1138

Signed-off-by: CarlGocht <3064220+CarlGocht@users.noreply.github.com>
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.

3 participants