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 support for escaping JSON to Strings lib #5251

Open
arr00 opened this issue Oct 11, 2024 · 1 comment
Open

Add support for escaping JSON to Strings lib #5251

arr00 opened this issue Oct 11, 2024 · 1 comment
Milestone

Comments

@arr00
Copy link
Contributor

arr00 commented Oct 11, 2024

🧐 Motivation
Some existing solidity libraries have functions that allow escaping JSON strings--this is crucial for NFT metadata stored on-chain with user input to ensure there can't be injection attacks. We should consider adding a similar feature to the strings library.

@arr00 arr00 added this to the 5.3 milestone Oct 11, 2024
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

No branches or pull requests

2 participants
@arr00 and others