Bug 1520539
| Summary: | [GSS](6.4.z) AccessLogValve only logs first occurrence of a request header | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Aaron Ogburn <aogburn> |
| Component: | Web | Assignee: | jboss-set |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Michael Cada <mcada> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.4.18 | CC: | bmaxwell, jondruse, rmaucher |
| Target Milestone: | CR1 | ||
| Target Release: | EAP 6.4.20 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-08-19 12:43:08 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1510090, 1527822 | ||
Regression tests passed Verified with EAP 6.4.20.CP.CR1 |
Description of problem: The JBossWeb AccessLogValve only logs the first occurrence of a request header. This can hide desired or expected values from being logged. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Set up access logging to include an incoming header <access-log pattern="%h %l %u %A %v %t %r %s %b %{X-Forwarded-For}i"/> 2. Attempt a request with multiple header occurrences and note the logged results: curl -H "X-Forwarded-For: 127.0.0.2" -H "X-Forwarded-For: 127.0.0.3" localhost:8080/app Actual results: Only first occurrence of a request header is logged Expected results: All occurrences of a request header are logged Additional info: Similar to the following issue in Tomcat: http://svn.apache.org/viewvc?view=revision&revision=1088460