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

The reverse proxy monitor doesn't verify anymore if org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true on Tomcat

    Details

    • Similar Issues:

      Description

      When deployed under Tomcat, Jenkins requires to have this option set :

      -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true
      

      This is a known issue/limitation/prerequisite like described in:

      The reverse proxy monitor was verifying this originally ( info confirmed by Jesse Glick ) :
      https://github.com/jenkinsci/jenkins/commit/724f9e0dfc2011d4c12e867bd85bc3f32c2b0513 (1.552)

      But it was lost in this commit: https://github.com/jenkinsci/jenkins/commit/cffe9df0176b0ff895554ce7f2ea4d2f20062351 (1.572)

      I'm not sure that all these controls should be in the same monitor but for sure the test must be done.

      Maybe:

      • to be re-added in the reverse proxy monitor to verify when the problem comes from the reverse proxy.
      • to be re- added as a specific Monitor for Tomcat because if org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH isn't set it will break some Jenkins features (400 HTTP Error - Bad Request with AJAX calls inside Folders for example, ...) even if there is no reverse proxy configured.

        Attachments

          Issue Links

            Activity

            aheritier Arnaud Héritier created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Link This issue is blocking JENKINS-23294 [ JENKINS-23294 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-21335 [ JENKINS-21335 ]
            jglick Jesse Glick made changes -
            Labels diagnostics reverse-proxy tomcat
            jglick Jesse Glick made changes -
            Labels diagnostics reverse-proxy tomcat diagnostics regression reverse-proxy tomcat
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 166236 ] JNJira + In-Review [ 182319 ]
            danielbeck Daniel Beck made changes -
            Labels diagnostics regression reverse-proxy tomcat diagnostics newbie-friendly regression reverse-proxy tomcat
            jhaswell Josiah Haswell made changes -
            Assignee Josiah Haswell [ jhaswell ]
            jhaswell Josiah Haswell made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jhaswell Josiah Haswell made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-41827 [ JENKINS-41827 ]
            recampbell Ryan Campbell made changes -
            Remote Link This issue links to "jenkins#2977 (Web Link)" [ 17530 ]
            recampbell Ryan Campbell made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal OSS-308 (Web Link)" [ 18918 ]

              People

              • Assignee:
                jhaswell Josiah Haswell
                Reporter:
                aheritier Arnaud Héritier
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: