jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • GeoServer
  • GEOS-1808

Lack of Url Encoding

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.6.1
  • Fix Version/s: 1.6.3
  • Component/s: WMS
  • Labels:
    None
  • Environment:
    Windows XP, Tomcat 6, Java 1.5

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

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Hide
    Java Archive File
    wms-1.6-SNAPSHOT.jar
    17/Mar/08 2:08 PM
    389 kB
    Andrea Aime
    1. File
      META-INF/MANIFEST.MF 0.1 kB
    2. XML File
      applicationContext.xml 13 kB
    3. File
      META-INF/.../org.vfny.geoserver.wms.GetLegendGraphicProducerSpi 0.2 kB
    4. File
      META-INF/.../org.vfny.geoserver.wms.GetMapProducerFactorySpi 0.8 kB
    5. File
      org/geoserver/.../DefaultWebMapService.class 9 kB
    6. File
      org/geoserver/.../kvp/ColorKvpParser.class 2 kB
    7. File
      org/.../GetMapKvpRequestReader.class 28 kB
    8. File
      org/geoserver/.../kvp/PaletteKvpParser.class 2 kB
    9. File
      org/geoserver/.../TilesOriginKvpParser.class 2 kB
    10. File
      org/geoserver/wms/util/WMSRequests.class 8 kB
    11. File
      org/geoserver/wms/WebMapService.class 0.9 kB
    12. File
      org/geoserver/.../SLDXmlRequestReader.class 2 kB
    13. File
      org/vfny/.../config/PaletteManager$1.class 0.8 kB
    14. File
      org/.../PaletteManager$PaletteCacheEntry.class 0.9 kB
    15. File
      org/vfny/.../config/PaletteManager.class 5 kB
    16. File
      org/vfny/.../config/PALFileLoader.class 4 kB
    17. File
      org/vfny/.../config/WMSConfig.class 5 kB
    18. File
      org/vfny/geoserver/global/WMS.class 6 kB
    19. File
      org/vfny/.../PutStylesKvpReader.class 3 kB
    20. File
      org/vfny/.../PutStylesRequest$1.class 0.2 kB
    21. File
      org/.../PutStylesRequest$MandatoryParameters.class 1 kB
    22. File
      org/.../PutStylesRequest$OptionalParameters.class 1 kB
    23. File
      org/vfny/.../requests/PutStylesRequest.class 2 kB
    24. File
      org/vfny/.../PutStylesResponse.class 1 kB
    25. File
      org/vfny/.../servlets/PutStyles.class 14 kB
    26. File
      org/vfny/.../sld/SldException.class 0.5 kB
    27. File
      org/vfny/.../GetLegendGraphicProducer.class 0.5 kB
    28. File
      org/.../GetLegendGraphicProducerSpi.class 0.5 kB
    29. File
      org/vfny/.../wms/GetMapProducer.class 0.7 kB
    30. File
      org/vfny/.../GetMapProducerFactorySpi.class 0.5 kB
    Showing 30 of 192 items Download Zip
    Show
    Java Archive File
    wms-1.6-SNAPSHOT.jar
    17/Mar/08 2:08 PM
    389 kB
    Andrea Aime

Issue Links

is related to

Bug - A problem which impairs or prevents the functions of the product. GEOS-1872 Remote SLD requests are double URL encoded.

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Andrea Aime added a comment - 15/Mar/08 6:26 AM

Upped priority to critical since this is really a regression, 1.5.x worked fine

Show
Andrea Aime added a comment - 15/Mar/08 6:26 AM Upped priority to critical since this is really a regression, 1.5.x worked fine
Hide
Permalink
Andrea Aime added a comment - 17/Mar/08 2:08 PM

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?

Show
Andrea Aime added a comment - 17/Mar/08 2:08 PM 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?
Hide
Permalink
Andrea Aime added a comment - 20/Mar/08 4:33 AM

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/

Show
Andrea Aime added a comment - 20/Mar/08 4:33 AM 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/
Hide
Permalink
Andrea Aime added a comment - 03/Nov/08 1:51 AM

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.

Show
Andrea Aime added a comment - 03/Nov/08 1:51 AM 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.

People

  • Assignee:
    Andrea Aime
    Reporter:
    Philippe VELTSOS
Vote (0)
Watch (0)

Dates

  • Created:
    14/Mar/08 5:06 AM
    Updated:
    03/Nov/08 1:51 AM
    Resolved:
    20/Mar/08 4:33 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.