-
Notifications
You must be signed in to change notification settings - Fork 1.4k
CXF-7842: ContainerRequestFilter.getHeaders() Does Not Honor Header Split Setting #445
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
Conversation
…plit Setting - forgot license header on new file
|
Hi, I have done that line, most likely, to get the TCK passing, @andymc12, FYI, thanks |
|
The code looks right to me. I'll see if I can run these changes through the TCK to ensure it still passes on Monday. Thanks @jwcarman for the PR, and @sberyozkin for the feedback! |
|
Did this change cause the TCK to fail? |
|
@jwcarman, yes, it does fail the TCK. The failing test is called So, I think the fix will need to return a modifiable map that also honors the split headers setting (if enabled). |
There was a very strange line in the ContainerRequestContextImpl which nulled out the HttpHeaders that were already there as a field. So, a simple solution was to not null it out and return what HttpHeaders was returning, since it already does the right thing. Let me know if this will work. All tests in the frontend-jaxrs module passed for me. My Jenkins is still running the full build, but I thought I'd get this in front of you guys to let me know if I'm on the right track. Thanks.