Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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)
- Loading branch information