[Issue 2170] New - link to table.css in config page does not work behind ssl-proxy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Issue 2170] New - link to table.css in config page does not work behind ssl-proxy

bernrieg
https://hudson.dev.java.net/issues/show_bug.cgi?id=2170
                 Issue #|2170
                 Summary|link to table.css in config page does not work behind
                        |ssl-proxy
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|Linux
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|www
             Assigned to|issues@hudson
             Reported by|bernrieg






------- Additional comments from [hidden email] Tue Aug  5 12:47:44 +0000 2008 -------
(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

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 2170] link to table.css in config page does not work behind ssl-proxy

scm_issue_link
https://hudson.dev.java.net/issues/show_bug.cgi?id=2170



User scm_issue_link changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Wed Aug  6 01:05:14 +0000 2008 -------
Code changed in hudson
User: : kohsuke
Path:
 trunk/hudson/main/core/src/main/resources/hudson/security/GlobalMatrixAuthorizationStrategy/config.jelly
 trunk/www/changelog.html
http://fisheye4.cenqua.com/changelog/hudson/?cs=11238
Log:
[FIXED HUDSON-2170] incorrect link. Fixed in 1.244.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]