Flagsmith / flagsmith

Open Source Feature Flagging and Remote Config Service. Host on-prem or use our hosted version at https://flagsmith.com/
https://flagsmith.com/
BSD 3-Clause "New" or "Revised" License
4.77k stars 365 forks source link

fix: Escape json references #4651

Closed kyle-ssg closed 1 week ago

kyle-ssg commented 1 week ago

Thanks for submitting a PR! Please check the boxes below:

Changes

JSON references JSON was not html escaped, this meant that setting a remote config value of <div>test</div> would render as markup when previewing JSON.

How did you test this code?

image

vercel[bot] commented 1 week ago

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

Name Status Preview Comments Updated (UTC)
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 23, 2024 11:14am
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 23, 2024 11:14am
1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **docs** | ⬜️ Ignored ([Inspect](https://vercel.com/flagsmith/docs/EDpoJ3sPFBzGj86cBcPudspCNESm)) | | | Sep 23, 2024 11:14am |
github-actions[bot] commented 1 week ago

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-e2e:pr-4651 Finished :white_check_mark: Skipped
ghcr.io/flagsmith/flagsmith-api-test:pr-4651 Finished :white_check_mark: Skipped
ghcr.io/flagsmith/flagsmith-private-cloud:pr-4651 Finished :white_check_mark: Results :white_check_mark:
ghcr.io/flagsmith/flagsmith:pr-4651 Finished :white_check_mark: Results :white_check_mark:
ghcr.io/flagsmith/flagsmith-frontend:pr-4651 Finished :white_check_mark: Results :white_check_mark:
ghcr.io/flagsmith/flagsmith-api:pr-4651 Finished :white_check_mark: Results :white_check_mark:
github-actions[bot] commented 1 week ago

Uffizzi Preview deployment-56537 was deleted.