Uploaded image for project: 'ReactOS Online Service'
  1. ReactOS Online Service
  2. ONLINE-94

Generated feeds don't escape ampersands

    XMLWordPrintable

Details

    Description

      Generated feeds don't escape ampersands (the & symbol) and I can only assume the same problem exists for other characters significant to XML syntax like less/greater-than symbols.

      Because XML is a "be strict about what you accept" format, this renders the feeds completely useless to most feed aggregators. I know KDE's aKregator fails to parse the feed in it's current state.

      The simplest way to solve the problem would probably be to replace & with & and then < and > with < and > throughout the input data. I forget how to do so in PHP and Perl, but for Python, it's as simple as:

      inputstring = inputString.replace('&','&').replace('<','<').replace('>','>')

      Attachments

        Activity

          People

            frik85 frik85
            ssokolow ssokolow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: