Skip to content

Conversation

@andersk
Copy link

@andersk andersk commented Nov 16, 2025

The output from the MessageFormat compiled function may contain arbitrary user-provided content, and cannot safely be re-parsed as an interval string, Mustache template, or printf format string.

The output from the MessageFormat compiled function may contain
arbitrary user-provided content, and cannot safely be re-parsed as an
interval string, Mustache template, or printf format string.

Fixes mashpie#544.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 97.99%. Comparing base (fcb0781) to head (0e7d0da).

Files with missing lines Patch % Lines
i18n.js 66.66% 1 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #546      +/-   ##
==========================================
- Coverage   98.17%   97.99%   -0.18%     
==========================================
  Files           2        2              
  Lines         548      549       +1     
==========================================
  Hits          538      538              
- Misses         10       11       +1     

☔ View full report in Codecov by Sentry.
📢 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.

@mashpie
Copy link
Owner

mashpie commented Nov 21, 2025

thanks again... :)

as the current implementation with enabled post-processing is in use for more than a decade, I would consider this a breaking change which requires a new release plus fallback opt-in to enable legacy behavior and docs.

There is at least one other PR that I wanted to merge before pushing new releases. So stay tuned.

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.

__mf incorrectly re-parses output as Mustache

3 participants