Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.14](backport #40446) [syslog] Fix handling of escaped characters i…
…n structured data (#40463) * [syslog] Fix handling of escaped characters in structured data (#40446) - Improved parser to handle escaped closing square brackets in structured data, along with square brackets in the normal, non-structured data portion of the message. - Fix incorrect offset being passed to removeBytes function, which would not remove escaped characters from structured data values. - The non-compliant-sd unit test cases now include escapes on the closing brackets within the structured data, something that should have always been there. - Add tests (cherry picked from commit 1c01d0e) * fix up changelog --------- Co-authored-by: Taylor Swanson <[email protected]> Co-authored-by: Taylor Swanson <[email protected]>
- Loading branch information