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

REST server fails to parse media-range with single asterisk

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.2.0.Final
    • 9.2.0.Final
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: