Skip to content

fix: sanitize even more xml-unfriendly chars - #11681

Merged
jennifer-richards merged 2 commits into
ietf-tools:mainfrom
jennifer-richards:more-api-sanitizing
Sep 1, 2026
Merged

fix: sanitize even more xml-unfriendly chars#11681
jennifer-richards merged 2 commits into
ietf-tools:mainfrom
jennifer-richards:more-api-sanitizing

Conversation

@jennifer-richards

@jennifer-richards jennifer-richards commented Sep 1, 2026

Copy link
Copy Markdown
Member

Adds the remaining Unicode ranges forbidden by XML 1.0 to the lists replaced before being rendered as XML via Tastypie. These are the surrogate ranges and explicitly non-character code points. Replaces these with the \ufffd � character when rendering.

@codecov

codecov Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.74%. Comparing base (88cb3bf) to head (9e035bb).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #11681   +/-   ##
=======================================
  Coverage   88.73%   88.74%           
=======================================
  Files         337      337           
  Lines       45313    45340   +27     
=======================================
+ Hits        40209    40236   +27     
  Misses       5104     5104           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

rjsparks
rjsparks previously approved these changes Sep 1, 2026
@jennifer-richards
jennifer-richards merged commit 7933338 into ietf-tools:main Sep 1, 2026
13 of 14 checks passed
@jennifer-richards
jennifer-richards deleted the more-api-sanitizing branch September 1, 2026 16:45
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants