Bug #1691 RSS document served with wrong content type
Submitted: 28 Oct 2003 18:20 Modified: 29 Oct 2003 4:08
Reporter: David Grant Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Websites: bugs.mysql.com Severity:S3 (Non-critical)
Version: OS:Windows (XP Pro / IE6)
Assigned to: CPU Architecture:Any

[28 Oct 2003 18:20] David Grant
Description:
When I try to navigate to the bugs.mysql.com RSS feed, I get a "download this file" prompt.

How to repeat:
http://bugs.mysql.com/rssinfo.php

Select some options, click "Generate URL" then attempt to navigate to the URL generated, you'll get a Download prompt, asking you what to do with the .php file.

Suggested fix:
In the rss.php page, add a header specifying that the content-type be "text/xml"

This should do it:

<?
header("Content-type: text/xml");
?>
[29 Oct 2003 4:08] Indrek Siitan
The rss.php sends a correct content type for a RSS feed (text/rdf). 
Apparently, IE doesn't know how to handle this and offers saving
the file.