Uploaded image for project: 'Jetspeed (Retired)'
  1. Jetspeed (Retired)
  2. JS1-495

NewRSSPortlet passes escaped HTML markup to browser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.5
    • None
    • Portlets
    • None
    • RedHat Enterprise Linux 3.0
      Tomcat 4.1.29
      Sun JDK 1.4.2_03
      Oracle 9iR2

    Description

      I pointed the NewRSSPortlet at the RSS feed from my blog, which I created with Roller (www.rollerweblogger.org). The Description for the item contains escaped HTML markup, e.g. ">". This was passed directly on to the browser, resulting in the user seeing HTML tags rather than formatted text.

      The solution is to unescape the HTML. The way I've done this so far is to use StringEscapeUtils.unescapeHtml() in commons-lang-2.0.

      I will submit a patch as soon as I rebuild from the CVS head.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ewittle Eric L. Wittle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: