I have upgraded my jenkins from the version 2.190.3 to the latest version 2.303.3 and after I login to my jenkins the "j_spring_security_check" redirects to https://tool.domain.com:8443/jenkins instead of https://tool.domain.com/jenkins

       

      "url": "https://tool.domain.com/jenkins/j_spring_security_check",
       "ip": "62.217.xxx.xxx",
       "redirect": false,
       "redirectType": "",
       "statusCode": 302,
       "statusLine": "HTTP/1.1 302 Found",
       "headers": [
       {
       "name": "Server",
       "value": "nginx/1.16.1"
       },
       {
       "name": "Date",
       "value": "Thu, 02 Dec 2021 10:41:59 GMT"
       {
       "name": "Expires",
       "value": "Thu, 01 Jan 1970 00:00:00 GMT"
       },
       {
       "name": "Location",
       "value": "https://tool.domain.com:8443/jenkins/"

       

          [JENKINS-67283] wrong redirect after jenkins login

          Petrisor Ciocoiu created issue -
          Petrisor Ciocoiu made changes -
          Attachment New: image-2021-12-03-10-55-46-286.png [ 56893 ]
          Petrisor Ciocoiu made changes -
          Description Original: I have *upgraded my jenkins* from the *version 2.190.3* to the *latest version 2.303.3* and after I login to my jenkins the *"j_spring_security_check"* redirects to {color:#de350b}[https://tool.domain.com:8443/jenkins] {color}instead of {color:#57d9a3}[https://tool.domain.com/jenkins|https://tool.domain.com:8443/jenkins]{color}

           
          {code:java}
          "url": "https://tool.domain.com/jenkins/j_spring_security_check",
           "ip": "62.217.xxx.xxx",
           "redirect": false,
           "redirectType": "",
           "statusCode": 302,
           "statusLine": "HTTP/1.1 302 Found",
           "headers": [
           {
           "name": "Server",
           "value": "nginx/1.16.1"
           },
           {
           "name": "Date",
           "value": "Thu, 02 Dec 2021 10:41:59 GMT"
           {
           "name": "Expires",
           "value": "Thu, 01 Jan 1970 00:00:00 GMT"
           },
           {
           "name": "Location",
           "value": "https://tool.domain.com:8443/jenkins/"{code}
          {{}}



          {{!image-2021-12-02-12-48-04-620.png!}}
          New: I have *upgraded my jenkins* from the *version 2.190.3* to the *latest version 2.303.3* and after I login to my jenkins the *"j_spring_security_check"* redirects to {color:#de350b}[https://tool.domain.com:8443/jenkins] {color}instead of {color:#57d9a3}[https://tool.domain.com/jenkins|https://tool.domain.com:8443/jenkins]{color}

           
          {code:java}
          "url": "https://tool.domain.com/jenkins/j_spring_security_check",
           "ip": "62.217.xxx.xxx",
           "redirect": false,
           "redirectType": "",
           "statusCode": 302,
           "statusLine": "HTTP/1.1 302 Found",
           "headers": [
           {
           "name": "Server",
           "value": "nginx/1.16.1"
           },
           {
           "name": "Date",
           "value": "Thu, 02 Dec 2021 10:41:59 GMT"
           {
           "name": "Expires",
           "value": "Thu, 01 Jan 1970 00:00:00 GMT"
           },
           {
           "name": "Location",
           "value": "https://tool.domain.com:8443/jenkins/"{code}
          !image-2021-12-03-10-55-46-286.png!

           
          Petrisor Ciocoiu made changes -
          Attachment Original: image-2021-12-02-12-48-04-620.png [ 56888 ]

            ks_nenasheva Kseniia Nenasheva
            petrisor_ciocoiu Petrisor Ciocoiu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: