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

Replace JSON11-produced hex escape codes with unicode escape codes #879

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Sep 26, 2024

  1. Replace JSON11-produced hex escape codes with unicode escape codes

    JSON11.stringify produces JSON5 documents with hex escape codes (`\x1b`),
    which aren't standard JSON and cause `JSON.parse` to error.
    When using JSON11, replace all `\xXX` escape codes with the JSON-compatible
    equivalent Unicode escape codes (`\u00XX`).
    
    Fixes opensearch-project/OpenSearch-Dashboards#7367.
    
    Signed-off-by: Will Jordan <will.jordan@gmail.com>
    wjordan committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    4eb4cbd View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    Signed-off-by: Will Jordan <wjordan@users.noreply.github.com>
    wjordan authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    141497a View commit details
    Browse the repository at this point in the history