You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2016/01/26 21:17:40 UTC

[jira] [Commented] (TS-4155) HTTP header parse should error on LF field terminator.

    [ https://issues.apache.org/jira/browse/TS-4155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15117900#comment-15117900 ] 

Leif Hedstrom commented on TS-4155:
-----------------------------------

Even though this is likely a bug, seeing that it's intentional, I suggest we land this for 7.0.0.

> HTTP header parse should error on LF field terminator.
> ------------------------------------------------------
>
>                 Key: TS-4155
>                 URL: https://issues.apache.org/jira/browse/TS-4155
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: HTTP
>            Reporter: Alan M. Carroll
>            Assignee: Alan M. Carroll
>              Labels: compatibility
>             Fix For: 7.0.0
>
>
> If an HTTP request header terminates one of the fields with just a line feed ATS will parse it as if the header terminated at the end of the previous line. I think I understand why this was done but in my opinion that is obsolete and ATS should instead generate a parse error. Such a request in my reading clearly violates the HTTP specification and should therefore generate a parse error. Another option is to treat the line feed as a proper line terminator which, while I think would be better than the current behavior would still be wrong. General usage has advanced sufficiently that ATS should require properly formatted request headers.



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