• Icon: New Feature New Feature
    • Resolution: Won't Do
    • Icon: Minor Minor
    • winstone-jetty
    • None

      Support sendServerVersion option to unset server version http header.

      There is a HTTP header which returns the Jetty server version:

      plata:winstone escoem$ curl -I https://JENKINS_SERVER/
      HTTP/1.1 302 Found
      Date: Wed, 02 Nov 2016 13:32:14 GMT
      Expires: Thu, 01 Jan 1970 00:00:00 GMT
      Location: https://JENKINS_SERVER/securityRealm/commenceLogin?from=%2F
      Server: Jetty(9.2.z-SNAPSHOT)
      Set-Cookie: JSESSIONID.dsaw=daseawew;Path=/;Secure;HttpOnly
      X-Content-Type-Options: nosniff
      X-Hudson: 1.395
      X-Hudson-CLI-Port: 10081
      X-Jenkins: 2.7.4.4
      X-Jenkins-CLI-Host: IP
      X-Jenkins-CLI-Port: 10081
      X-Jenkins-CLI2-Port: 10081
      X-Jenkins-Session: dsaw
      Connection: keep-alive

      Jetty support a configuration option for sending or not the Server version (by default is sent).

          [JENKINS-39436] Allow to deactivate "Server HTTP Header"

          Emilio Escobar created issue -
          Emilio Escobar made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Emilio Escobar made changes -
          Remote Link New: This issue links to "PR (Web Link)" [ 15010 ]
          Emilio Escobar made changes -
          Description Original: Support sendServerVersion option to unset server version http header. New: Support sendServerVersion option to unset server version http header.

          There is a HTTP header which returns the Jetty server version:

          plata:winstone escoem$ curl -I https://JENKINS_SERVER/
          HTTP/1.1 302 Found
          Date: Wed, 02 Nov 2016 13:32:14 GMT
          Expires: Thu, 01 Jan 1970 00:00:00 GMT
          Location: https://JENKINS_SERVER/securityRealm/commenceLogin?from=%2F
          *Server: Jetty(9.2.z-SNAPSHOT)*
          Set-Cookie: JSESSIONID.dsaw=daseawew;Path=/;Secure;HttpOnly
          X-Content-Type-Options: nosniff
          X-Hudson: 1.395
          X-Hudson-CLI-Port: 10081
          X-Jenkins: 2.7.4.4
          X-Jenkins-CLI-Host: IP
          X-Jenkins-CLI-Port: 10081
          X-Jenkins-CLI2-Port: 10081
          X-Jenkins-Session: dsaw
          Connection: keep-alive

          Jetty support a configuration option for sending or not the Server version (by default is sent).
          Arnaud Héritier made changes -
          Summary Original: Add sendServerVersion option New: Allow to deactivate "Server HTTP Header"
          Emilio Escobar made changes -
          Resolution New: Won't Do [ 10001 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Daniel Beck made changes -
          Link New: This issue is duplicated by SECURITY-1165 [ SECURITY-1165 ]

            escoem Emilio Escobar
            escoem Emilio Escobar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: