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

[receiver/webhookevent] fix for issue 35028 #35065

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

shalper2
Copy link
Contributor

@shalper2 shalper2 commented Sep 7, 2024

Description: Fixed a bug where request bodies containing newlines caused logs to split into separate entries.

Link to tracking Issue: 35028

Testing: Added a new unit test to req_to_log_test.go for the case where request body data contains newline characters

Documentation: Some comments in req_to_log.go for clarity were added.

@shalper2 shalper2 requested a review from a team September 7, 2024 16:18
@shalper2 shalper2 changed the title fix for issue 35028 [receiver/webhookevent] fix for issue 35028 Sep 7, 2024
@shalper2 shalper2 force-pushed the 35028-fix-scan-behavior branch 2 times, most recently from fee8f5d to b5fc5b4 Compare September 10, 2024 14:30
@shalper2 shalper2 force-pushed the 35028-fix-scan-behavior branch 2 times, most recently from 57f73f6 to ed26e5e Compare September 16, 2024 16:19
@atoulme atoulme added the ready to merge Code review completed; ready to merge by maintainers label Sep 17, 2024
@shalper2 shalper2 force-pushed the 35028-fix-scan-behavior branch 2 times, most recently from 8386425 to e3a7a6a Compare September 19, 2024 15:15
@shalper2 shalper2 requested a review from a team as a code owner September 19, 2024 15:15
@atoulme atoulme removed the ready to merge Code review completed; ready to merge by maintainers label Sep 19, 2024
@shalper2 shalper2 force-pushed the 35028-fix-scan-behavior branch 2 times, most recently from 7aa0d99 to 5ac8841 Compare September 26, 2024 14:39
@shalper2
Copy link
Contributor Author

@open-telemetry/collector-contrib-approvers This is ready to merge, I think

@crobert-1 crobert-1 added the ready to merge Code review completed; ready to merge by maintainers label Sep 26, 2024
@shalper2 shalper2 force-pushed the 35028-fix-scan-behavior branch 2 times, most recently from 8c92ae7 to b5d4b83 Compare September 30, 2024 22:27
@codeboten codeboten merged commit 2f44ce5 into open-telemetry:main Oct 2, 2024
156 checks passed
@github-actions github-actions bot added this to the next release milestone Oct 2, 2024
jriguera pushed a commit to springernature/opentelemetry-collector-contrib that referenced this pull request Oct 4, 2024
**Description:** Fixed a bug where request bodies containing newlines
caused logs to split into separate entries.

**Link to tracking Issue:**
[35028](open-telemetry#35028)

**Testing:** Added a new unit test to `req_to_log_test.go` for the case
where request body data contains newline characters

**Documentation:** Some comments in `req_to_log.go` for clarity were
added.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Code review completed; ready to merge by maintainers receiver/webhookevent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants