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

Jenkins behind rproxy generates wrong project urls when redirected

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • Client: Windows 7
      Server: Windows Server 2012 R2, ARR 3, Jenkins 2.27, java.runtime.version 1.8.0_66-b18

      Jenkins is behind rproxy. Config argument: --prefix=/jenkins
      http://build redirects to https://build/jenkins

      Links to project-urls are wrong:
      Sample: https://build/job/test/ instead of https://build/jenkins/job/test/

      It seems to be a client jscript issue. After clicking on Jenkins Homeurl (upper left corner), all links are correct.

          [JENKINS-39151] Jenkins behind rproxy generates wrong project urls when redirected

          Willi Ecker created issue -
          Willi Ecker made changes -
          Summary Original: Jenkins behind rproxy generates wrong project urls in IE 11 client New: Jenkins behind rproxy generates wrong project urls
          Willi Ecker made changes -
          Environment Original: Client: Windows 7, IE 11.0.9600.18449
          Server: Windows Server 2012 R2, ARR 3, Jenkins 2.26, java.runtime.version 1.8.0_66-b18
          New: Client: Windows 7
          Server: Windows Server 2012 R2, ARR 3, Jenkins 2.26, java.runtime.version 1.8.0_66-b18
          Willi Ecker made changes -
          Description Original: Jenkins is behind rproxy. Config argument --prefix=/jenkins
          In IE11, after logon, the links to the projects on the startscreen are wrong.

          Sample: https://server/job/test/ instead of https://server/*jenkins*/job/test/

          It's a client jscript issue with this kind of browser. No problem with Chrome or FF. Maybe a slow render/binding bug. After clicking on Jenkins Homeurl (upper left corner), all links are correct.
          New: Jenkins is behind rproxy. Config argument: --prefix=/jenkins
          http://build redirects to https://build/jenkins

          Links in to project urls are wrong:
          Sample: https://build/job/test/ instead of https://build/jenkins/job/test/

          It seems to be a client jscript issue. After clicking on Jenkins Homeurl (upper left corner), all links are correct.
          Environment Original: Client: Windows 7
          Server: Windows Server 2012 R2, ARR 3, Jenkins 2.26, java.runtime.version 1.8.0_66-b18
          New: Client: Windows 7
          Server: Windows Server 2012 R2, ARR 3, Jenkins 2.27, java.runtime.version 1.8.0_66-b18
          Summary Original: Jenkins behind rproxy generates wrong project urls New: Jenkins behind rproxy generates wrong project urls when redirected

          Willi Ecker added a comment - - edited

          EDIT: Fixed hint, that this failure only happens in ie 11. Behavior is browser independent.

          Willi Ecker added a comment - - edited EDIT: Fixed hint, that this failure only happens in ie 11. Behavior is browser independent.
          Willi Ecker made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Willi Ecker made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Willi Ecker made changes -
          Description Original: Jenkins is behind rproxy. Config argument: --prefix=/jenkins
          http://build redirects to https://build/jenkins

          Links in to project urls are wrong:
          Sample: https://build/job/test/ instead of https://build/jenkins/job/test/

          It seems to be a client jscript issue. After clicking on Jenkins Homeurl (upper left corner), all links are correct.
          New: Jenkins is behind rproxy. Config argument: --prefix=/jenkins
          http://build redirects to https://build/jenkins

          Links to project-urls are wrong:
          Sample: https://build/job/test/ instead of https://build/jenkins/job/test/

          It seems to be a client jscript issue. After clicking on Jenkins Homeurl (upper left corner), all links are correct.

          Willi Ecker added a comment -

          Fix issue by adding / to service jenkins.xml in windows environment:

          service::arguments .... --prefix=/jenkins*/*

           

          Willi Ecker added a comment - Fix issue by adding / to service jenkins.xml in windows environment: service::arguments .... --prefix=/jenkins* / *  
          Willi Ecker made changes -
          Link New: This issue blocks JENKINS-31307 [ JENKINS-31307 ]
          Willi Ecker made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

            Unassigned Unassigned
            ewilli Willi Ecker
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: