Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4155

HTTP header parse should error on LF field terminator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • HTTP

    Description

      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.

      Attachments

        Activity

          People

            amc Alan M. Carroll
            amc Alan M. Carroll
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: