-
Bug
-
Resolution: Unresolved
-
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.
[JENKINS-50364] Attachment URI incorrect when file name contains a space
Description |
Original:
When an attachment contains a space, the URL from the job page escapes spaces 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. h2. 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|http://eclipse.org/jetty] When changing the escape from + to%20 - the attachment can be found. There seems to be some discussion on the Jetty side ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=435017)] |
New:
When an attachment contains a space, the URL from the job page escapes spaces 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|http://eclipse.org/jetty] ``` When changing the escape from + to%20 - the attachment can be found. There seems to be some discussion on the Jetty side ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=435017)] |
Description |
Original:
When an attachment contains a space, the URL from the job page escapes spaces 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|http://eclipse.org/jetty] ``` When changing the escape from + to%20 - the attachment can be found. There seems to be some discussion on the Jetty side ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=435017)] |
New:
When an attachment contains a space, the URL from the job page escapes spaces as + : {noformat} 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{noformat} This results in a 404 not found error. {noformat} 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 {noformat} When changing the escape from + to%20 - the attachment can be found. There seems to be some discussion on the Jetty side ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=435017)] |
Description |
Original:
When an attachment contains a space, the URL from the job page escapes spaces as + : {noformat} 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{noformat} This results in a 404 not found error. {noformat} 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 {noformat} When changing the escape from + to%20 - the attachment can be found. There seems to be some discussion on the Jetty side ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=435017)] |
New:
The URL from the test results page escapes spaces in attachments as + {noformat} 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{noformat} This results in a 404 not found error: {noformat} 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 {noformat} When changing the escape from + to %20 - the attachment can be found. There seems to be some discussion on the Jetty side ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=435017)] |
Description |
Original:
The URL from the test results page escapes spaces in attachments as + {noformat} 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{noformat} This results in a 404 not found error: {noformat} 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 {noformat} When changing the escape from + to %20 - the attachment can be found. There seems to be some discussion on the Jetty side ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=435017)] |
New:
The URL from the test results page escapes spaces in attachments as + {noformat} 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{noformat} This results in a 404 not found error: {noformat} 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 {noformat} 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|https://bugs.eclipse.org/bugs/show_bug.cgi?id=435017]. |
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.