You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Dmitry Tretyakov (JIRA)" <ji...@apache.org> on 2017/03/22 13:24:41 UTC

[jira] [Created] (OLINGO-1097) Failure while parsing HTTP header values joined by multiple whitespaces

Dmitry Tretyakov created OLINGO-1097:
----------------------------------------

             Summary: Failure while parsing HTTP header values joined by multiple whitespaces
                 Key: OLINGO-1097
                 URL: https://issues.apache.org/jira/browse/OLINGO-1097
             Project: Olingo
          Issue Type: Bug
          Components: odata2-core
    Affects Versions: V2 2.0.8
            Reporter: Dmitry Tretyakov
             Fix For: V2 2.0.9


`RestUtil` while parsing HTTP header values allow to join multiple values with comma and only one white space it causes that after parsing values are prefixed by white spaces which causes exceptions in `ContentType` instantiation and as result leads to BadRequestException.

See RFC 2616 4.2: https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)