[Geoserver-devel] [jira] Created: (GEOS-3381) Returning XML file as shapefile

Returning XML file as shapefile
-------------------------------

                 Key: GEOS-3381
                 URL: http://jira.codehaus.org/browse/GEOS-3381
             Project: GeoServer
          Issue Type: Bug
         Environment: windows vista, 1.7.6
            Reporter: Jonathan
            Assignee: Andrea Aime

Maybe related to GEOS-3176.

Using this URL:

Ihttp://<host>:8080/geoserver/wfs?request=getfeature&service=wfs&version=1.1.0&typename=national_parks&outputFormat=shape-zip&cql_filter=WITHIN(spatial_data,POLYGON((52.69039951342979 -3.2531133947651627,52.20277259477829 -3.2531133947651627,52.20277259477829 -4.1354672289895795,52.69039951342979 -4.1354672289895795,52.69039951342979 -3.2531133947651627)))

This should (and does) result in no data being returned. The problem is, rather than getting an XML file, GeoServer appears to return the XML as a zip MIME type so all browsers (Opera, firefox, IE tested) read the xml file as being zip. The contents are definitely xml.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira