Closed Bug 314043 Opened 21 years ago Closed 17 years ago

RSS feeds not compliant (1.0) when bugs contain characters such as "�"

Categories

(Bugzilla :: Query/Bug List, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: hsugotaq, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 The RSS feeds base on search queries will are not 1.0 compliant the bugs found in the queries contain UTF-8 based characters (eg. É). Reproducible: Always Steps to Reproduce: 1. Create search query on project with bugs using characters such as 'à' et 'é'. 2. Use a feed validator on the RSS query. Actual Results: The validation of the feed fails. Expected Results: The validation of the feed should be successful. Suggest either changing the line <?xml version="1.0"?> to <?xml version="1.0" encoding="UTF-8"?> or converting characters to HTML entities (eg. 'é' would be '&eacute;').
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: RSS feeds not compliant (1.0) when bugs contain characters such as "é" → RSS feeds not compliant (1.0) when bugs contain characters such as "�"
WFM: http://feedvalidator.org/check.cgi?url=https%3A%2F%2Fbugzilla.mozilla.org%2Fbuglist.cgi%3Fquery_format%3Dadvanced%26short_desc_type%3Dallwordssubstr%26short_desc%3DRSS%2520feeds%2520not%2520compliant%26ctype%3Drss is the feedvalidator approving of a query including this bug. Did you have a particular query that doesn't work? Since Bugzilla sends RSS as "application/rss+xml" without a charset param on the content type or an encoding attribute on the XML declaration, it ought to be treated as UTF-8, and should only be not well-formed if it includes bytes that don't add up to a legal UTF-8 character.
This should be fixed now that we fully support UTF8.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.