You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Bolz (JIRA)" <ji...@apache.org> on 2016/08/30 18:52:22 UTC

[jira] [Created] (OLINGO-1016) Wrong batch content header handling (Olingo V2)

Michael Bolz created OLINGO-1016:
------------------------------------

             Summary: Wrong batch content header handling (Olingo V2)
                 Key: OLINGO-1016
                 URL: https://issues.apache.org/jira/browse/OLINGO-1016
             Project: Olingo
          Issue Type: Bug
          Components: odata4-server
    Affects Versions: (Java) V4 4.2.0
            Reporter: Michael Bolz
            Assignee: Michael Bolz
             Fix For: (Java) V4 4.3.0


The parsing of the header in the batch content (in {{BatchParserCommon}}) is not correct.

Current regex {code}([a-zA-Z\-]+):\s?(.*)\s*{code} does not fit the allowed RFC 7230 HTTP header names consist of the following characters:
{code}
       "!" / "#" / "$" / "%" / "&" / "'" / "*"
     / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"
     / DIGIT / ALPHA
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)