Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1174

Blank Host Name throws exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 3.0.11.Final
    • jaxrs
    • None
    • Hide

      Send an HTTP 1.1 Request with an empty Host: field. For example:

      GET /status HTTP/1.1
      Host:

      Show
      Send an HTTP 1.1 Request with an empty Host: field. For example: GET /status HTTP/1.1 Host:

      If RESTeasy receives an HTTP request with an empty Host field it will throw an exception. The HTTP 1.1 specification requires the Host entry field to be there and left blank if the hostname is unknown (See: http://tools.ietf.org/html/rfc2616#section-14.23).

            rsigal@redhat.com Ronald Sigal
            aarondonoho Aaron Donoho (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: