Skip to content

Remove sanitize HTTP body for knativeerrordata extension - #6902

Merged
knative-prow[bot] merged 1 commit into
knative:mainfrom
pierDipi:remove-sanitize-http-body
May 2, 2023
Merged

knative-prow[bot] merged 1 commit into
knative:mainfrom
pierDipi:remove-sanitize-http-body

Conversation

@pierDipi

@pierDipi pierDipi commented May 2, 2023

Copy link
Copy Markdown
Contributor

Sanitizing the HTTP body was added as a measure to try to handle as many HTTP body as possible, now that we're base64 encoding the error body [1], it is not necessary anymore, it just breaks any consumer trying to use such info.

[1] #6542

Sanitizing the HTTP body was added as a measure to try to handle
as many HTTP body as possible, now that we're base64 encoding the
error body [1], it is not necessary anymore.

[1] knative#6542

Signed-off-by: Pierangelo Di Pilato <[email protected]>
@knative-prow
knative-prow Bot requested review from matzew and mgencur May 2, 2023 13:08
@knative-prow knative-prow Bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. area/test-and-release Test infrastructure, tests or release labels May 2, 2023
@pierDipi

pierDipi commented May 2, 2023

Copy link
Copy Markdown
Contributor Author

/cc @matzew

@codecov

codecov Bot commented May 2, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.05 ⚠️

Comparison is base (cd50d27) 79.89% compared to head (e648dee) 79.84%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6902      +/-   ##
==========================================
- Coverage   79.89%   79.84%   -0.05%     
==========================================
  Files         243      243              
  Lines       12557    12530      -27     
==========================================
- Hits        10032    10005      -27     
  Misses       2028     2028              
  Partials      497      497              
Impacted Files Coverage Δ
pkg/channel/message_dispatcher.go 73.50% <100.00%> (-3.16%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@matzew matzew left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@knative-prow knative-prow Bot added the lgtm Indicates that a PR is ready to be merged. label May 2, 2023
@knative-prow

knative-prow Bot commented May 2, 2023

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: matzew, pierDipi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@pierDipi

pierDipi commented May 2, 2023

Copy link
Copy Markdown
Contributor Author

/test upgrade-tests

@knative-prow
knative-prow Bot merged commit 66e8257 into knative:main May 2, 2023
@pierDipi
pierDipi deleted the remove-sanitize-http-body branch May 3, 2023 08:31
pierDipi added a commit to pierDipi/eventing that referenced this pull request May 4, 2023
)

Sanitizing the HTTP body was added as a measure to try to handle as many
HTTP body as possible, now that we're base64 encoding the error body
[1], it is not necessary anymore, it just breaks any consumer trying to
use such info.

[1] knative#6542

Signed-off-by: Pierangelo Di Pilato <[email protected]>
openshift-merge-robot pushed a commit to openshift-knative/eventing that referenced this pull request May 5, 2023
) (#203)

Sanitizing the HTTP body was added as a measure to try to handle as many
HTTP body as possible, now that we're base64 encoding the error body
[1], it is not necessary anymore, it just breaks any consumer trying to
use such info.

[1] knative#6542

Signed-off-by: Pierangelo Di Pilato <[email protected]>
openshift-cherrypick-robot pushed a commit to openshift-cherrypick-robot/knative-eventing that referenced this pull request May 5, 2023
)

Sanitizing the HTTP body was added as a measure to try to handle as many
HTTP body as possible, now that we're base64 encoding the error body
[1], it is not necessary anymore, it just breaks any consumer trying to
use such info.

[1] knative#6542

Signed-off-by: Pierangelo Di Pilato <[email protected]>
openshift-merge-robot pushed a commit to openshift-knative/eventing that referenced this pull request May 5, 2023
) (#211)

Sanitizing the HTTP body was added as a measure to try to handle as many
HTTP body as possible, now that we're base64 encoding the error body
[1], it is not necessary anymore, it just breaks any consumer trying to
use such info.

[1] knative#6542

Signed-off-by: Pierangelo Di Pilato <[email protected]>
Co-authored-by: Pierangelo Di Pilato <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/test-and-release Test infrastructure, tests or release lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants