Details
Description
Passing parameters for the sld in the wms request results in non UrlEncoded requests.
See below for example:
Request:
/geoserver/wms?layers=who:admin2&format=image%2Fpng&service=WMS&version=1.1.1&request=GetMap&styles=&exceptions=application%2Fvnd.ogc.se_inimage&srs=EPSG%3A4326&bbox=-23.031498%2C-0.002848%2C-0.531498%2C16.976144&width=1190&height=898&sld=http%3A%2F%2Flocalhost%3A8080%2Fopenhealth-fp%2Fprototype%2Folap%2Fquery%2FDiseases%3Fcolumns%3D%5BIndicator%5D.Members%2C%5BAge%2520Group%5D.%5BAll%2520Age%2520Groups%5D%2C%5BGender%5D.%5BGender%5D.Members%26rows%3D%5BLocation%5D.%5BAll%2520Locations%5D.%5BSLP000000000000000000%5D%2C%5BDisease%5D.%5BDisease%5D.Members%2C%5BTime%5D.%5BAll%2520Times%5D%26aggregate%3D%5BAge%2BGroup%5D.%5BAge%2BGroup%5D%2C%5BLocation%5D.%5BDistrict%5D%2C%5BTime%5D.%5BMonth%5D%26filter%3D%5BIndicator%5D.%5BNumber%2520of%2520Cases%5D%2C%5BIndicator%5D.%5BNumber%2520of%2520Deaths%5D%26mapType%3Dchloropleth%26layer%3Daxis0%3A%5BIndicator%5D.%5BNumber+of+Cases%5D%2C%5BAge+Group%5D.%5BAll+Age+Groups%5D%2C%5BGender%5D.%5BAll+Genders%5D.%5BFemale%5D%2Caxis1%3A%5BLocation%5D.%5BDistrict%5D%2C%5BDisease%5D.%5BAll+Diseases%5D.%5BAFP%5D%2C%5BTime%5D.%5BAll+Times%5D%26mapType%3Dchloropleth%26flavor%3Dogc%2Fsld&transparent=true
Results in:
http://localhost:8080/openhealth-fp/prototype/olap/query/Diseases?columns=[Indicator].Members,[Age%20Group].[All%20Age%20Groups],[Gender].[Gender].Members&rows=[Location].[All%20Locations].[SLP000000000000000000],[Disease].[Disease].Members,[Time].[All%20Times]&aggregate=[Age+Group].[Age+Group],[Location].[District],[Time].[Month]&filter=[Indicator].[Number%20of%20Cases],[Indicator].[Number%20of%20Deaths]&mapType=chloropleth&layer=axis0:[Indicator].[Number of Cases],[Age Group].[All Age Groups],[Gender].[All Genders].[Female],axis1:[Location].[District],[Disease].[All Diseases].[AFP],[Time].[All Times]&mapType=chloropleth&flavor=ogc/sld
-
Hide
- wms-1.6-SNAPSHOT.jar
- 17/Mar/08 2:08 PM
- 389 kB
- Andrea Aime
-
- META-INF/MANIFEST.MF 0.1 kB
- applicationContext.xml 13 kB
- META-INF/.../org.vfny.geoserver.wms.GetLegendGraphicProducerSpi 0.2 kB
- META-INF/.../org.vfny.geoserver.wms.GetMapProducerFactorySpi 0.8 kB
- org/geoserver/.../DefaultWebMapService.class 9 kB
- org/geoserver/.../kvp/ColorKvpParser.class 2 kB
- org/.../GetMapKvpRequestReader.class 28 kB
- org/geoserver/.../kvp/PaletteKvpParser.class 2 kB
- org/geoserver/.../TilesOriginKvpParser.class 2 kB
- org/geoserver/wms/util/WMSRequests.class 8 kB
- org/geoserver/wms/WebMapService.class 0.9 kB
- org/geoserver/.../SLDXmlRequestReader.class 2 kB
- org/vfny/.../config/PaletteManager$1.class 0.8 kB
- org/.../PaletteManager$PaletteCacheEntry.class 0.9 kB
- org/vfny/.../config/PaletteManager.class 5 kB
- org/vfny/.../config/PALFileLoader.class 4 kB
- org/vfny/.../config/WMSConfig.class 5 kB
- org/vfny/geoserver/global/WMS.class 6 kB
- org/vfny/.../PutStylesKvpReader.class 3 kB
- org/vfny/.../PutStylesRequest$1.class 0.2 kB
- org/.../PutStylesRequest$MandatoryParameters.class 1 kB
- org/.../PutStylesRequest$OptionalParameters.class 1 kB
- org/vfny/.../requests/PutStylesRequest.class 2 kB
- org/vfny/.../PutStylesResponse.class 1 kB
- org/vfny/.../servlets/PutStyles.class 14 kB
- org/vfny/.../sld/SldException.class 0.5 kB
- org/vfny/.../GetLegendGraphicProducer.class 0.5 kB
- org/.../GetLegendGraphicProducerSpi.class 0.5 kB
- org/vfny/.../wms/GetMapProducer.class 0.7 kB
- org/vfny/.../GetMapProducerFactorySpi.class 0.5 kB
Issue Links
- is related to
-
GEOS-1872
Remote SLD requests are double URL encoded.
-
Activity
Philippe, can you try killing the wms-1.6.2.jar file in your GeoServer 1.6.2 web-inf/lib and replace it with this file and see if it fixes the issue for you?
Fixed on 1.6.x and trunk. Philippe, if you prefer to try out a .war instead, tomorrow you'll find one with the fix at http://gridlock.openplans.org/geoserver/1.6.x/
All these issues have been in "resolved" state for at least one month (many of them, much more than that). Since no one has reopened them, I'm mass-switching them to closed state. Reopen if you feel the issue has not been addressed properly.
Upped priority to critical since this is really a regression, 1.5.x worked fine