• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • jenkins.2.201

      We have an archived folder called HeadlessChrome 77.0.3865 (Linux 0.0.0) with a file index.html the contents of that folder fail when served via resource root.
      If I make a copy of the folder HeadlessChrome-77.0.3865-(Linux-0.0.0), that index.html file will be served successfully.

      Pipeline for testing:

      node('master') {
         sh '''mkdir -p "a/foo bar has lots of spaces to make people unhappy"
         touch "a/foo bar has lots of spaces to make people unhappy/index.html"
         '''
         archiveArtifacts 'a/'
      }
      

          [JENKINS-59849] Spaces don't work in resource root paths

          Josh Soref added a comment - danielbeck found the problem: https://github.com/jenkinsci/jenkins/blob/11c1146d0dc30e948ade8d1636ae01345c294291/core/src/main/java/jenkins/security/ResourceDomainRootAction.java#L166-L176

          Daniel Beck added a comment -

          Will be released tomorrow or Monday.

          Daniel Beck added a comment - Will be released tomorrow or Monday.

          Josh Soref added a comment -

          Picked up the change, verified it works. Thanks  

          Josh Soref added a comment - Picked up the change, verified it works. Thanks  

            danielbeck Daniel Beck
            jsoref Josh Soref
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: