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

Invalid response code for empty host value in request

XMLWordPrintable

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

      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)

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

              Created:
              Updated:
              Resolved: