Skip to content

Default servlet drops first accept-encoding header if there is more than one. #7863

@markslater

Description

@markslater
Contributor

Jetty version(s)
11.0.9

Java version/vendor (use: java -version)
N/A

OS type/version
N/A

Description
When DefaultServlet handles a request with multiple accept-encoding headers, it attempts to combine their values, but it drops the value of the first header (and produces a value with a leading comma).

How to reproduce?
Test case to follow.

Activity

added 2 commits that reference this issue on Apr 8, 2022

jetty#7863 Include value of first accept-encoding header where multip…

jetty#7863 Include value of first accept-encoding header where multip…

added 2 commits that reference this issue on Apr 11, 2022

#7863 Include value of first accept-encoding header where multiple ac…

8bcb842

#7863 Include value of first accept-encoding header where multiple ac…

5bacb46
added a commit that references this issue on Apr 27, 2022

#7863 Include value of first accept-encoding header where multiple ac…

7d6693c
joakime

joakime commented on May 11, 2022

@joakime
Contributor

All merged into jetty-9.4.x and jetty-10.0.x+

added a commit that references this issue on Oct 6, 2022

#7863 Include value of first accept-encoding header where multiple ac…

1f844e8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFor general bugs on Jetty side

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @joakime@markslater

      Issue actions

        Default servlet drops first accept-encoding header if there is more than one. · Issue #7863 · jetty/jetty.project