Bug #21130 Fix encoding in RSS/Atom feeds for feeds with arguments
Submitted: 19 Jul 2006 1:00 Modified: 19 Jul 2006 15:42
Reporter: Jay Pipes Email Updates:
Status: Closed Impact on me:
Category:MySQL Websites: MySQLForge Severity:S3 (Non-critical)
Version: OS:
Assigned to: CPU Architecture:Any

[19 Jul 2006 1:00] Jay Pipes
LenZ discovered this:

XML Parsing Error: not well-formed
<LenZ> Location: http://localhost/mysqlforge/feed.php?p=atom&t=php
<LenZ> Line Number 9, Column 53: <link>http://localhost/mysqlforge/feed.php?p=atom&t=php</link>
<LenZ> ----------------------------------------------------^

How to repeat:
Go to http://localhost/mysqlforge/feed.php?p=atom&t=php and view in a browser or XML reader

Suggested fix:
urlencode() the output string perhaps or use CDATA perhaps?
[19 Jul 2006 6:58] Valeriy Kravchuk
Thank you for a bug report. Verified just as described with:

[19 Jul 2006 15:42] Jay Pipes
Fixed in r68

Added escape:"html" in query string <link> in templates