Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-4009

wrong content type in rss.jsp

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 15.0.0, Meridian-2015.1.0
    • Component/s: Web UI - General
    • Security Level: Default (Default Security Scheme)
    • Labels:
    • Environment:
      Operating System: All
      Platform: PC
    • Bugzilla Id:
      3973

      Description

      The rss is display in plain text instead of having the content type set to text/xml

      I won´t call it fix but the following resolves the issue that some rss readers don´t understand the xml rss...

      — rss.jsp 2010-07-15 11:07:09.000000000 +0200
      +++ rss.jsp.xml 2010-07-15 11:07:56.000000000 +0200
      @@ -39,7 +39,7 @@

      --%><%@page
      language="java"

      • contentType="text/plain"
        + contentType="text/xml"
        session="true"
        import="org.opennms.web.rss.*"
        %><%!

        Attachments

          Activity

            People

            • Assignee:
              seth Seth Leger
              Reporter:
              opennms@hammon.info Daniel Hammon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: