You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Alan M. Carroll (JIRA)" <ji...@apache.org> on 2016/01/26 19:33:39 UTC
[jira] [Assigned] (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:all-tabpanel ]
Alan M. Carroll reassigned TS-4155:
-----------------------------------
Assignee: Alan M. Carroll
> 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
>
> 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)