[
https://issues.apache.org/jira/browse/KNOX-3559?focusedWorklogId=1053552&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1053552
]
ASF GitHub Bot logged work on KNOX-3559:
----------------------------------------
Author: ASF GitHub Bot
Created on: 09/Nov/26 15:03
Start Date: 09/Nov/26 15:03
Worklog Time Spent: 10m
Work Description: github-actions[bot] commented on PR #1498:
URL: https://github.com/apache/knox/pull/1498#issuecomment-6743321933
## Test Results
5 files 5 suites 1m 17s ⏱️
198 tests 196 ✅ 2 💤 0 ❌
239 runs 237 ✅ 2 💤 0 ❌
Results for commit 191af59f.
[test-results]:data:application/gzip;base64,H4sIAK7g8WoC/03MSw6DIBSF4a0Yxh3Iq0g30+CFm5CqNAgj070XiaLD/zvJ2Qj6ya3k1clHR9bsUwubo0k+LCWVKl2WtG9UD2e91wxQ6XnRx38LsQZo/FSgb+BiDPGQmJf9k3F9xHnJuGpyPda+Hda+/0GYZ59KEKqpQakRraNCOA4jKOTjILlRQlopeiENME1+fwZKwlEEAQAA
Issue Time Tracking
-------------------
Worklog Id: (was: 1053552)
Time Spent: 0.5h (was: 20m)
> Ignore the backend Content-Length header regardless of case when rewriting
> responses
> ------------------------------------------------------------------------------------
>
> Key: KNOX-3559
> URL: https://issues.apache.org/jira/browse/KNOX-3559
> Project: Apache Knox
> Issue Type: Task
> Components: Server
> Affects Versions: 3.1.0
> Reporter: Tamás Marcinkovics
> Assignee: Tamás Marcinkovics
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {{UrlRewriteResponse}} drops the backend {{Content-Length}} header because
> rewriting can change the body length. The header name check is case
> sensitive, so a lowercase {{content-length}} header (e.g. from OpenSearch
> Dashboards / Node.js) is passed to the response. When the rewritten body is
> longer, Jetty aborts the response (written N > M content-length) and the
> client gets a failed request.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)