Attachment URI incorrect when file name contains a space

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • None
    • Environment:
      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.

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

              Created:
              Updated: