Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
Description
In some of our jobs, the build result page gets some text appended using a Groovy postbuild step. The appended text can contain arbitrary characters, even an escape character (character code 27). Everything works fine.
On accessing such a build via XML api, there is an exception because the XML output contains invalid characters:
error on line 1 at column 9913: PCDATA invalid Char value 27
I'm aware that I can avoid this issue by filtering the appended text in the groovy step, but generally the XML API should filter or escape such invalid characters from the output.
Attachments
Issue Links
Activity
Field | Original Value | New Value |
---|---|---|
Labels | stapler |
Workflow | JNJira [ 154669 ] | JNJira + In-Review [ 178883 ] |
Remote Link | This issue links to "Reproducible test case (Web Link)" [ 22334 ] |
Assignee | Basil Crow [ basil ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Remote Link | This issue links to "jenkinsci/jenkins#5654 (Web Link)" [ 26841 ] |
Remote Link | This issue links to "stapler/stapler#248 (Web Link)" [ 26842 ] |
Labels | stapler | stalled-pr stapler |
Assignee | Basil Crow [ basil ] |
Status | In Review [ 10005 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Open [ 1 ] |