[JIRA] (JENKINS-62122) REST: Broken encoding results in 500 without a Reason Phrase given

2 views
Skip to first unread message

julian.schilling@continentale.de (JIRA)

unread,
Apr 30, 2020, 7:12:02 AM4/30/20
to jenkinsc...@googlegroups.com
Julian Schilling created an issue
 
Jenkins / Improvement JENKINS-62122
REST: Broken encoding results in 500 without a Reason Phrase given
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: core
Created: 2020-04-30 11:11
Priority: Minor Minor
Reporter: Julian Schilling

When attempting to upload a config.xml with a broken encoding (for example, you attempted to upload ö which happens when an UTF-8 "ö" is interpreted as ISO 8859-1), Jenkins refuses to accept that encoding and answers with a 500.
This is fine.

However, it would make it easier to debug things if any kind of reason phrase would be given, if only "Illegal characters in config.xml" or alike. Finding this error can otherwise be tedious, especially if this happens in a largely automated environment.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages