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

[Lens] escape backslash characters in the formula input #196171

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

mbondyra
Copy link
Contributor

@mbondyra mbondyra commented Oct 14, 2024

Summary

Ensures that backslashes are properly escaped in addition to single quotes in formula

@mbondyra mbondyra requested a review from a team as a code owner October 14, 2024 15:42
@mbondyra mbondyra added Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) labels Oct 14, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations (Team:Visualizations)

@mbondyra mbondyra requested a review from ElenaStoeva October 14, 2024 15:43
@mbondyra mbondyra added the release_note:skip Skip the PR/issue when compiling release notes label Oct 14, 2024
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
lens 1.5MB 1.5MB +22.0B

@mbondyra mbondyra merged commit e0251df into elastic:main Oct 15, 2024
32 checks passed
@mbondyra mbondyra deleted the lens/code_scanning_alert_75 branch October 15, 2024 07:46
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11341573679

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 15, 2024
## Summary

Ensures that backslashes are properly escaped in addition to single
quotes in formula

(cherry picked from commit e0251df)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Oct 15, 2024
… (#196237)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Lens] escape backslash characters in the formula input
(#196171)](#196171)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Marta
Bondyra","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-15T07:46:56Z","message":"[Lens]
escape backslash characters in the formula input (#196171)\n\n##
Summary\r\n\r\nEnsures that backslashes are properly escaped in addition
to single\r\nquotes in
formula","sha":"e0251df6bd944fc53c58b9ee73c0b5d2eb892197","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","Feature:Lens","v9.0.0","backport:prev-minor"],"title":"[Lens]
escape backslash characters in the formula
input","number":196171,"url":"https://github.com/elastic/kibana/pull/196171","mergeCommit":{"message":"[Lens]
escape backslash characters in the formula input (#196171)\n\n##
Summary\r\n\r\nEnsures that backslashes are properly escaped in addition
to single\r\nquotes in
formula","sha":"e0251df6bd944fc53c58b9ee73c0b5d2eb892197"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196171","number":196171,"mergeCommit":{"message":"[Lens]
escape backslash characters in the formula input (#196171)\n\n##
Summary\r\n\r\nEnsures that backslashes are properly escaped in addition
to single\r\nquotes in
formula","sha":"e0251df6bd944fc53c58b9ee73c0b5d2eb892197"}}]}]
BACKPORT-->

Co-authored-by: Marta Bondyra <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Feature:Lens release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.16.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants