olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Tretyakov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OLINGO-1097) Failure while parsing HTTP header fields joined by multiple whitespaces
Date Wed, 22 Mar 2017 13:27:41 GMT

     [ https://issues.apache.org/jira/browse/OLINGO-1097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dmitry Tretyakov updated OLINGO-1097:
-------------------------------------
    Summary: Failure while parsing HTTP header fields joined by multiple whitespaces  (was:
Failure while parsing HTTP header values joined by multiple whitespaces)

> Failure while parsing HTTP header fields 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)

Mime
View raw message