Yes, it seems perfectly natural for a browser to append .xml onto a file that is responding as an XML document but doesn’t already have the extension on it, and it normally wouldn’t be a problem.
Maybe I’m using EE for what it’s not meant to do, but we created a calendar for Tufts Alumni website that also generates an iCal feed, and prompts you to download an ICS file when it’s clicked. I was able to achieve that with this bit of code:
header('Content-type: text/calendar');
header('Content-Disposition: attachment; filename="tuftsalumni.ics"');It works great in Firefox, but Safari, since I have the template type set to XML, appends a .xml extension on the tuftsalumni.ics file. Normally, if I have these header types set, Safari shouldn’t do this, so I’m guessing EE is also adding some headers during the template rendering process.
I know this is such an edge case, but does anyone have any ideas? The calendar is here: http://tuftsalumni.org/events-reunions/calendar with iCal link at the top, and individual events also have an iCal link on their detail pages.
Thanks!