Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1091

Invalid response code for empty host value in request

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.23.Final
    • 1.4.15.Final
    • Core
    • None

    Description

      In case of sending request with empty host field:

      GET /redirect-https-test/ HTTP/1.1 [ host: , Connection: ....])

      server return response 500 Internal Server Error instead 400 Bad Request which is against HTTP/1.1 spec RFC (14.23 Host section)

      Attachments

        Issue Links

          Activity

            People

              flaviarnn Flavia Rainone
              rhn-support-iweiss Ingo Weiss
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: