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

Sanitize JSON string when serializing #27

Open
sisyphusSmiling opened this issue Apr 3, 2024 · 0 comments
Open

Sanitize JSON string when serializing #27

sisyphusSmiling opened this issue Apr 3, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@sisyphusSmiling
Copy link
Contributor

sisyphusSmiling commented Apr 3, 2024

Issue To Be Solved

Currently, serialization does not replace unsafe JSON characters from the returned value.

Suggest A Solution

Replace unsafe JSON characters from the serialized string. These characters include

  • " (double quote)
  • \ (backslash)
  • / (forward slash)
  • \b (backspace)
  • \f (form feed)
  • \n (newline)
  • \r (carriage return)
  • \t (tab)
@sisyphusSmiling sisyphusSmiling added Bugfix Bug Something isn't working and removed Bugfix labels Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Status: Todo
Status: 🧊 Backlog
Development

No branches or pull requests

1 participant