Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
2.28, 915bc21
-
-
iapetus
Description
Scope
- Force text/plain content type on full log endpoint
Original Request
When displaying the full log for a step, e.g. at https://jenkins.my-domain.com/blue/rest/organizations/jenkins/pipelines/Org/project/branches/master/runs/90/log/?start=0, the log is rendered as HTML with colors, anchors, etc., but line breaks are not renders as <br />.
That's fine to do, but if so, the body should have a `style="white-space: pre-wrap"` or you end up with an enormous wall of unbroken text.
jamesdumay is this the right place to just report that "show full logs" button opens the tab with logs that are being rendered as HTML in Firefox ?