Support » Fixing WordPress » BUG: RSS feeds on translated blogs is broken

  • The feeds such as /comments/feed do not work when using a localized copy of wordpress.

    This is due to them putting in the « and other entities that are taken from the gettext .po resource files.

    For example ru_RU is totally hosed, and it’s because the strings files put in » and « and those are then put into the XML, and it results in invalid XML/invalid feed.

    Suggestion: either scrub the gettext results, or tell everyone to put normal quotes in their stuff (or numeric entities), or don’t use those strings inside of the feeds…

    This is how it comes out:
    `<title>Comment on post «Post title» by user</title>’

    That breaks the feeds.

Viewing 1 replies (of 1 total)
  • I suppose this isn’t a bug with wordpress itself, but with the translations, but wordpress shouldn’t be allowing unsafe characters in the XML for feeds. It does so much text processing already and safety checks I would assume this would be within scope.

Viewing 1 replies (of 1 total)
  • The topic ‘BUG: RSS feeds on translated blogs is broken’ is closed to new replies.