Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-464

consoleText says text/html

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      Using 1.100, I tried consoleText, but (at least using the bundled Winstone) it
      reports a content-type of text/html. This confuses the formatting in the
      browser. I think it should say text/plain.

        Attachments

          Activity

          Hide
          jglick Jesse Glick added a comment -

          Under Tomcat + Firefox it is rendered OK, but wget confirms that no content-type
          header is being sent at all, so I guess Firefox is just assuming text/plain by
          default.

          Show
          jglick Jesse Glick added a comment - Under Tomcat + Firefox it is rendered OK, but wget confirms that no content-type header is being sent at all, so I guess Firefox is just assuming text/plain by default.
          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          Fixed in 1.101.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - Fixed in 1.101.
          Hide
          recht recht added a comment -

          It seems that this bug was re-introduced at some point, 1.297 has Content-Type:
          text/html again.

          Show
          recht recht added a comment - It seems that this bug was re-introduced at some point, 1.297 has Content-Type: text/html again.
          Hide
          mindless Alan Harder added a comment -

          Looks like it was re-fixed in Hudson 1.301:

          r17404 | pgweiss | 2009-04-22 16:10:55 -0700 (Wed, 22 Apr 2009) | 2 lines
          Changed paths:
          M /trunk/hudson/main/core/src/main/resources/hudson/model/Run/consoleText.jelly

          Make consoleText urls have content-type text/plain so they don't get scrambled.

          Show
          mindless Alan Harder added a comment - Looks like it was re-fixed in Hudson 1.301: r17404 | pgweiss | 2009-04-22 16:10:55 -0700 (Wed, 22 Apr 2009) | 2 lines Changed paths: M /trunk/hudson/main/core/src/main/resources/hudson/model/Run/consoleText.jelly Make consoleText urls have content-type text/plain so they don't get scrambled.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            tompalmer tompalmer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: