Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8752

REST server fails to parse media-range with single asterisk

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 9.2.0.CR2
    • Fix Version/s: 9.2.0.Final
    • Component/s: None
    • Labels:
      None

      Description

      The REST server fails to parse

      text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2

      According to RFC-2616, media-range is defined as

        media-range    = 
                         ( "*/*"
                         | ( type "/" "*" )
                         | ( type "/" subtype )
                         ) *( ";" parameter )
      

      and * is not valid, but the java internal http client sends this in its default requests. More info in https://bugs.openjdk.java.net/browse/JDK-8163921.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  gustavonalle Gustavo Fernandes
                  Reporter:
                  gustavonalle Gustavo Fernandes
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: