[infinispan-issues] [JBoss JIRA] (ISPN-8752) REST server fails to parse media-range with single asterisk

Dan Berindei (JIRA) issues at jboss.org
Fri Feb 2 10:27:00 EST 2018


     [ https://issues.jboss.org/browse/ISPN-8752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei updated ISPN-8752:
-------------------------------
           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s: 9.2.0.Final
       Resolution: Done


> REST server fails to parse media-range with single asterisk
> -----------------------------------------------------------
>
>                 Key: ISPN-8752
>                 URL: https://issues.jboss.org/browse/ISPN-8752
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 9.2.0.CR2
>            Reporter: Gustavo Fernandes
>            Assignee: Gustavo Fernandes
>             Fix For: 9.2.0.Final
>
>
> The REST server fails to parse 
> text/html, image/gif, image/jpeg, \*; q=.2, \*/\*; q=.2
> According to [RFC-2616|https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html], media-range is defined as 
> {noformat}
>   media-range    = 
>                    ( "*/*"
>                    | ( type "/" "*" )
>                    | ( type "/" subtype )
>                    ) *( ";" parameter )
> {noformat}
> 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.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list