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

Attachment URI incorrect when file name contains a space

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins 2.111

      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.

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

              Created:
              Updated: