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

REST server fails to parse media-range with single asterisk

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.2.0.Final
    • 9.2.0.CR2
    • None
    • 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.

      Attachments

        Issue Links

          Activity

            People

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              gfernand@redhat.com Gustavo Fernandes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: