Safari ignores the "filename" paramater in the download because the mime type is "text/plain". If changed to "text/csv" Safari leaves it alone. (Safari is "helping." Thanks, Safari.)

Patch attached.

CommentFileSizeAuthor
profile_csv-download.patch434 bytesjohn franklin

Comments

kbahey’s picture

Version: 6.x-1.0 » 6.x-1.x-dev
Status: Active » Needs work

Can you please test if this works with Firefox and perhaps Opera as well?

We should not break backwards compatibility.

john franklin’s picture

Sure can, in fact I can round out the list with Chrome and Camino. I just tested the patch on Mac OS X 10.6.3 with the following browsers:

* Opera 10.53
* Chrome 5.0.375.38 beta
* Camino 2.02
* Firefox 3.6.3

and, of course:

* Safari 4.0.5

All download the file as "userlist.csv", no .txt extra extension.

kbahey’s picture

Status: Needs work » Fixed

Committed.

Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.