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:
None 
Category:MySQL Websites: MySQLForge Severity:S3 (Non-critical)
Version: OS:
Assigned to: CPU Architecture:Any

[19 Jul 2006 1:00] Jay Pipes
Description:
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:

http://forge.mysql.com/feed.php?p=atom&t=php
[19 Jul 2006 15:42] Jay Pipes
Fixed in r68

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

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.