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

Attachment URI incorrect when file name contains a space

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The URL from the test results page escapes spaces in attachments as + 

      http://<server>:(8080/job/7.25/job/work/job/report_11.6-sql2014/165/testReport/(root)/stusgrp/screenreportempty621001/attachments/621001.li.menu+authorization.compare.txt

      This results in a 404 not found error: 

      HTTP ERROR 404
      Problem accessing /job/7.25/job/work/job/report_11.6-sql2014/165/testReport/(root)/stusgrp/screenreportempty621001/attachments/621001.li.menu+authorization.compare.txt. Reason:
      Not Found 
      Powered by Jetty:// 9.4.z-SNAPSHOT
      

       

      When changing the escape from + to %20 - the attachment can be found.
       

      There seems to be have been some discussion on the Jetty side in issue 435017.

        Attachments

          Activity

          Hide
          smd Stefan Drissen added a comment -

          It seems like this was broken recently in JENKINS-37026 - for which the pull request was created a "long" time ago in 2016 - but which has only been included in the latest 1.5 version of the plug-in which was release 29 days ago.

          Show
          smd Stefan Drissen added a comment - It seems like this was broken recently in  JENKINS-37026 - for which the pull request was created a "long" time ago in 2016 - but which has only been included in the latest 1.5 version of the plug-in which was release 29 days ago.

            People

            Assignee:
            huybrechts huybrechts
            Reporter:
            smd Stefan Drissen
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: