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)
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 'é').
Updated•21 years ago
|
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 "�"
Comment 1•21 years ago
|
||
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.
I get wrong feeds as well
http://feedvalidator.org/check.cgi?url=https%3A%2F%2Fwww.lmvt.ethz.ch%2Fbugzilla%2Fbuglist.cgi%3Fbug_status%3DUNCONFIRMED%26bug_status%3DNEW%26bug_status%3DASSIGNED%26bug_status%3DREOPENED%26content%3D%26field-1-0-0%3Dbug_status%26field-1-1-0%3Dproduct%26field0-0-0%3Dcontent%26field0-0-1%3Dshort_desc%26product%3DLaTeX%253A%2520lmvt-thesis%26query_f
in this case most probably the "µ" in bug 90 causes the trouble.
Comment 3•17 years ago
|
||
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.
Description
•