Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-2170

link to table.css in config page does not work behind ssl-proxy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: Linux

      (using hudson 1.242 on tomcat 6.0, connected to apache 2.2 with mod_jk)
      When calling the 'system configuration'-link on the 'hudson administration'
      (https://seudev.sdm.de/pu/brihudson/build/hudson/configure - ) page I get
      authentication errors from my SSL-proxy, because the links in the page refer to
      the wrong path. The references to other content work, e.g. textarea-handle.gif.

      here what firefox' livehttp headers says (see below for details):
      GET /pu/brihudson/build/hudson/static/cee3cc4c/images/textarea-handle.gif yields
      HTTP/1.x 200 OK
      GET /resources/cee3cc4c/hudson/security/table.css HTTP/1.1 yields HTTP/1.x 401
      Authorization Required

      The correct link should be:
      /pu/brihudson/build/hudson/resources/cee3cc4c/hudson/security/table.css

      ==> the base-part of the URL is missing in the second GET-request.

      --------cut from live http headers

      https://<my-portalserver>/pu/brihudson/build/hudson/static/cee3cc4c/images/textarea-handle.gif

      GET /pu/brihudson/build/hudson/static/cee3cc4c/images/textarea-handle.gif HTTP/1.1
      User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.16)
      Gecko/20080702 Firefox/2.0.0.16
      Accept: image/png,/;q=0.5
      Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
      Accept-Encoding: gzip,deflate
      Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
      Keep-Alive: 300
      Connection: keep-alive
      Referer:
      https://<my-portalserver>/pu/brihudson/build/hudson/static/cee3cc4c/css/style.css
      Cookie: hudson_auto_refresh=false; loginPanel:loginForm:...
      Authorization: Basic ...

      HTTP/1.x 200 OK
      Date: Tue, 05 Aug 2008 12:09:17 GMT
      Server: Apache/2.2.9 (Unix) mod_jk/1.2.26
      Last-Modified: Thu, 31 Jul 2008 23:30:32 GMT
      Expires: Wed, 05 Aug 2009 12:09:17 GMT
      Content-Length: 52
      Content-Type: image/gif
      Keep-Alive: timeout=15, max=75
      Connection: Keep-Alive
      ----------------------------------------------------------

      https://<my-portalserver>/resources/cee3cc4c/hudson/security/table.css

      GET /resources/cee3cc4c/hudson/security/table.css HTTP/1.1

      User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.16)
      Gecko/20080702 Firefox/2.0.0.16
      Accept: text/css,/;q=0.1
      Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
      Accept-Encoding: gzip,deflate
      Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
      Keep-Alive: 300
      Connection: keep-alive
      Referer: https://<my-portalserver>/pu/brihudson/build/hudson/configure
      Cookie: hudson_auto_refresh=false; loginPanel:loginForm:username=admin;

      HTTP/1.x 401 Authorization Required

      sorry, my hudson displays german text and I didn't find out how to switch to
      english, so I don't know the english display names

            Unassigned Unassigned
            bernrieg bernrieg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: