forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.12] Adding check to escape pushes to output in kbn-handlebars (ela…
…stic#175490) (elastic#175828) # Backport This will backport the following commits from `main` to `8.12`: - [Adding check to escape pushes to output in kbn-handlebars (elastic#175490)](elastic#175490) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Kurt","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-01-29T17:02:20Z","message":"Adding check to escape pushes to output in kbn-handlebars (elastic#175490)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/174865\r\n\r\nA bug was reported that noticed a difference between kbn-handlbars and\r\nthe original handlebars when it came to escaping nested values.\r\n\r\nAdditional checks have been added to verify whether escaping should be\r\nperformed.\r\n\r\n## Testing\r\n\r\nWhen reviewing the unit tests notice the permutations of\r\nnested/un-nested inputs for each type of template(simple, helper, block)\r\nwith all values `noEscape` compiler option (default(false), false, true)\r\n\r\n## Release Note\r\n\r\nFixed issue with `@kbn-handlebars` where nested inputs were not being\r\nescaped properly\r\n\r\n---------\r\n\r\nCo-authored-by: Jeramy Soucy <[email protected]>","sha":"100975f280704c0cb6210c0817052afce71f7f2d","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Security","backport:all-open","v8.13.0"],"title":"Adding check to escape pushes to output in kbn-handlebars","number":175490,"url":"https://github.com/elastic/kibana/pull/175490","mergeCommit":{"message":"Adding check to escape pushes to output in kbn-handlebars (elastic#175490)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/174865\r\n\r\nA bug was reported that noticed a difference between kbn-handlbars and\r\nthe original handlebars when it came to escaping nested values.\r\n\r\nAdditional checks have been added to verify whether escaping should be\r\nperformed.\r\n\r\n## Testing\r\n\r\nWhen reviewing the unit tests notice the permutations of\r\nnested/un-nested inputs for each type of template(simple, helper, block)\r\nwith all values `noEscape` compiler option (default(false), false, true)\r\n\r\n## Release Note\r\n\r\nFixed issue with `@kbn-handlebars` where nested inputs were not being\r\nescaped properly\r\n\r\n---------\r\n\r\nCo-authored-by: Jeramy Soucy <[email protected]>","sha":"100975f280704c0cb6210c0817052afce71f7f2d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","branchLabelMappingKey":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/175490","number":175490,"mergeCommit":{"message":"Adding check to escape pushes to output in kbn-handlebars (elastic#175490)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/174865\r\n\r\nA bug was reported that noticed a difference between kbn-handlbars and\r\nthe original handlebars when it came to escaping nested values.\r\n\r\nAdditional checks have been added to verify whether escaping should be\r\nperformed.\r\n\r\n## Testing\r\n\r\nWhen reviewing the unit tests notice the permutations of\r\nnested/un-nested inputs for each type of template(simple, helper, block)\r\nwith all values `noEscape` compiler option (default(false), false, true)\r\n\r\n## Release Note\r\n\r\nFixed issue with `@kbn-handlebars` where nested inputs were not being\r\nescaped properly\r\n\r\n---------\r\n\r\nCo-authored-by: Jeramy Soucy <[email protected]>","sha":"100975f280704c0cb6210c0817052afce71f7f2d"}}]}] BACKPORT--> Co-authored-by: Kurt <[email protected]>
- Loading branch information
1 parent
a6c1b4a
commit 17deb36
Showing
3 changed files
with
237 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
eab1d141cb4a1d93375d7380ed070aa1f576a2c9 | ||
7de4b41c344a5d702edca93d1841b59642fa32bd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters