[Geoserver-devel] [jira] Created: (GEOS-1683) OpenLayers output format does not correctly encode string attributes in CQL filters

OpenLayers output format does not correctly encode string attributes in CQL filters
-----------------------------------------------------------------------------------

                 Key: GEOS-1683
                 URL: http://jira.codehaus.org/browse/GEOS-1683
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
    Affects Versions: 1.6.0-RC1
            Reporter: Tyler Erickson
            Assignee: Andrea Aime
            Priority: Minor
             Fix For: 1.6.0, 1.7.0-beta1

The following GetMap request in the OpenLayers format
http://localhost:8086/geoserver/wms?bbox=-90.81403812808064,41.36778930444964,-82.10740979957625,48.59101185391105&styles=&Format=application/openlayers&request=GetMap&layers=mtri:v_implementation_by_county_contractyear_practice_spatial&width=800&height=622&srs=EPSG:4326&CQL_FILTER=(practice='ALL PRACTICES')

Returns an OpenLayers page in which the CQL_FILTER paramater is not correctly encoded...

             // setup tiled layer
             tiled = new OpenLayers.Layer.WMS(
"mtri:v_implementation_by_county_contractyear_practice_spatial - Tiled",
"localhost:8086/geoserver/wms",
                 {
                     CQL_FILTER: '(practice='ALL PRACTICES')',
                     height: '622',
                     width: '800',
                     layers: 'mtri:v_implementation_by_county_contractyear_practice_spatial',
                     styles: '',
                     srs: 'EPSG:4326',
                     format: 'image/png',
                     tiled: 'true',
                     tilesOrigin : "-90.81403812808064,41.36778930444964"
                 },
                 {buffer: 0}
            );

--
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