Skip to content

Conversation

peterwald
Copy link
Member

@peterwald peterwald commented Oct 8, 2025

Microsoft Reviewers: Open in CodeFlow

@peterwald peterwald requested a review from a team as a code owner October 8, 2025 19:56
@Copilot Copilot AI review requested due to automatic review settings October 8, 2025 19:56
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the use of UnsafeRelaxedJsonEscaping from the JSON serialization configuration in the AI evaluation reporting library. This change moves away from relaxed JSON escaping that could potentially allow unsafe characters in JSON output.

  • Removes UnsafeRelaxedJsonEscaping encoder setting from JSON serializer options
  • Removes the unused System.Text.Encodings.Web using directive

@github-actions github-actions bot added the area-ai-eval Microsoft.Extensions.AI.Evaluation and related label Oct 8, 2025
@peterwald peterwald enabled auto-merge (squash) October 8, 2025 20:07
@peterwald peterwald merged commit 01354ad into dotnet:main Oct 8, 2025
6 checks passed
This was referenced Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-ai-eval Microsoft.Extensions.AI.Evaluation and related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants