![]() |
|
|
Issue Type:
|
Improvement
|
Assignee:
|
Andrea Aime
|
Created:
|
23/Oct/12 4:48 PM
|
Description:
|
The org.geoserver.ows.Response class has a default definition of getAttachmentFileName() that uses the MIME type of the response to guess a filename to use in the Content-Disposition header. Currently the heuristic used is to take the part of the MIME type up to the first / character. Instead, I think it should be everything between the first / and the first ; if any. This is because MIME types are structured as a general category (application, text, image...) and a specific subtype - the subtype more often corresponds to a commonly used file extension than the general category. Examples:
etc.
|
Project:
|
GeoServer
|
Priority:
|
Major
|
Reporter:
|
David Winslow
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel