Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #20322: Correct escaping of hex ranges in Html::escapeJsRegularEx… #20330

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kowap
Copy link

@kowap kowap commented Feb 24, 2025

Fixes #20322

This PR corrects the escaping of hex ranges (\x00-\xFF) in Html::escapeJsRegularExpression, ensuring compatibility with JavaScript regular expressions.

Copy link

codecov bot commented Feb 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.85%. Comparing base (53ce354) to head (82b36a8).

Additional details and impacted files
@@            Coverage Diff            @@
##             master   #20330   +/-   ##
=========================================
  Coverage     64.85%   64.85%           
  Complexity    11435    11435           
=========================================
  Files           431      431           
  Lines         37193    37193           
=========================================
  Hits          24120    24120           
  Misses        13073    13073           

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

@samdark samdark requested review from a team February 24, 2025 21:41
@samdark
Copy link
Member

samdark commented Feb 24, 2025

Thanks for pull request. Please add a line for CHANGELOG.

@samdark samdark added this to the 2.0.53 milestone Feb 24, 2025
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.

Bug: RegularExpressionValidator creates invalid regex in client-side
2 participants