Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7093

Servlets should default to text/plain

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.22.0
    • 0.22.0
    • io
    • None
    • Reviewed

    Description

      In trunk the servlets like /stacks and /metrics are returning text/html content-type instead of text/plain. Security wise it's much safer to default to text/plain and require servlets to explicitly set the content-type to text/html when required.

      Attachments

        1. hadoop-7093.3.txt
          8 kB
          Todd Lipcon
        2. hadoop-7093.3.txt
          7 kB
          Todd Lipcon
        3. hadoop-7093.2.txt
          8 kB
          Todd Lipcon
        4. hadoop-7093.txt
          4 kB
          Todd Lipcon

        Issue Links

          Activity

            People

              tlipcon Todd Lipcon
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: