Amazon S3: Mismatch when reading HTTP header from GCS#8791
Conversation
|
Hey @PettitWesley, can we get this PR reviewed and merged? Currently, there is no GCS Output Plugin but this fix could help as a workaround to upload to GCS bucket meanwhile. |
sunhubs
left a comment
There was a problem hiding this comment.
why such a bug fix for function is not merged as soon as possible
|
@PettitWesley @sparrc @singholt @swapneils Bumping up for review |
|
still relevant and needed ! |
|
+1 for this |
4f44e42 to
64b59cb
Compare
📝 WalkthroughWalkthroughFixed HTTP header matching in the HTTP client to constrain header detection to line boundaries by prefixing search patterns with carriage return and line feed ( ChangesHTTP Client Header Lookup Fix
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
I can confirm that this bug is still present in 5.0.3. I rebased my branch on the commit of the release. |
64b59cb to
b739cb6
Compare
ffff2dc to
b739cb6
Compare
This commit includes the HTTP separator when looking for the header values in the response payload, to avoid mismatching header ending with the same name. See the linked issue for more info and example.
Fixes #8790
Testing
Before we can approve your change; please submit the following in a comment:
If this is a change to packaging of containers or native binaries then please confirm it works for all targets.
ok-package-testlabel to test for all targets (requires maintainer to do).Documentation
Backporting
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.
Summary by CodeRabbit