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

Escape 'regex' in Case Search #35401

Merged
merged 1 commit into from
Nov 19, 2024
Merged

Escape 'regex' in Case Search #35401

merged 1 commit into from
Nov 19, 2024

Conversation

minhaminha
Copy link
Contributor

Product Description

Limited to Superuser use.

Technical Summary

Jira Ticket

This was most likely an effort to duplicate the behavior of Remove Special Characters (under project settings) where despite being referred to as regex in the code, everything user facing and it being eventually escaped suggests it's actually just supposed to be a string for use in a simple string replacement operation.

This is also to address this code scan alert

Feature Flag

Not an FF but limited to Superusers

Safety Assurance

Safety story

Tested locally. Escapes a string and changes a string so no real impact.

Rollback instructions

  • This PR can be reverted after deploy with no further considerations

Labels & Review

  • Risk label is set correctly
  • The set of people pinged as reviewers is appropriate for the level of risk of the change

@minhaminha minhaminha merged commit bb4ffa4 into master Nov 19, 2024
13 checks passed
@minhaminha minhaminha deleted the ml/escape-regex branch November 19, 2024 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product/invisible Change has no end-user visible impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants