Skip to content

[wasm] Encode exception text on debug page - #10223

Merged
wtgodbe merged 1 commit into
mainfrom
wtgodbe/port-335b2fe-main
Oct 15, 2026
Merged

wtgodbe merged 1 commit into
mainfrom
wtgodbe/port-335b2fe-main

Conversation

@wtgodbe

@wtgodbe wtgodbe commented Oct 14, 2026

Copy link
Copy Markdown
Member

Encode the underlying exception before writing it to the WebAssembly debug page in both source copies. This completes output encoding for the remaining interpolated value.

Encode the underlying exception before writing it to the WebAssembly debug page in both source copies. This completes output encoding for the remaining interpolated value.

Co-authored-by: Copilot <[email protected]>
@wtgodbe
wtgodbe requested review from kotlarmilos and a balanced review from Copilot October 14, 2026 16:10
@dotnet-policy-service
dotnet-policy-service Bot requested review from a team October 14, 2026 16:10
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The focused changes are correct, consistent, and introduce no unresolved issues.

0 open findings

What changed in this PR

Encodes exception text before rendering it on WebAssembly debug pages.

Changes:

  • Applies HTML encoding to exception output in both source copies.
  • Preserves existing diagnostic text while preventing HTML interpretation.
File Description
src/​runtime/​.../​WebAssemblyNetDebugProxyAppBuilderExtensions.cs Encodes debug-page exception text.
src/​aspnetcore/​.../​TargetPickerUi.cs Mirrors the exception encoding update.

🧠 Review effort: Balanced


💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@wtgodbe
wtgodbe merged commit 4e71362 into main Oct 15, 2026
12 checks passed
@wtgodbe
wtgodbe deleted the wtgodbe/port-335b2fe-main branch October 15, 2026 16:22
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

Successfully merging this pull request may close these issues.

3 participants