Opened 15 years ago
Last modified 5 years ago
#2750 closed defect
WMS requests are not urlencoded — at Version 1
Reported by: | geochuck | Owned by: | nowakpl |
---|---|---|---|
Priority: | normal | Milestone: | closed_because_of_github_migration |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | normal | Keywords: | wms urlencode |
Cc: | warmerdam |
Description (last modified by )
It appears that GDAL WMS requests are not urlencoded. This a space in the url ends up truncating the request. Example:
<ImageFormat>image/png; mode=24bit</ImageFormat>
Here is a test WMS file:
<GDAL_WMS> <Service name="WMS"> <Version>1.1.1</Version> <ServerURL>http://giifmap.cnr.berkeley.edu/cgi-bin/naip.wms?</ServerUrl> <SRS>EPSG:4326</SRS> <ImageFormat>image/png; mode=24bit</ImageFormat> <Layers>naip2005</Layers> </Service> <DataWindow> <UpperLeftX>-124.45</UpperLeftX> <UpperLeftY>42.0421</UpperLeftY> <LowerRightX>-113.222</LowerRightX> <LowerRightY>32.2006</LowerRightY> <SizeX>1247554</SizeX> <SizeY>1093499</SizeY> </DataWindow> <BandsCount>3</BandsCount> <ClampRequests>false</ClampRequests> </GDAL_WMS>
Change History (3)
comment:1 by , 15 years ago
Cc: | added |
---|---|
Description: | modified (diff) |
Keywords: | wms urlencode added |
Owner: | changed from | to
by , 15 years ago
Attachment: | gdal-r16174-t2750.patch added |
---|
by , 15 years ago
Attachment: | gdal-r16174-t2750-2.patch added |
---|
Note:
See TracTickets
for help on using tickets.
Adam,
Can you review, and prepare an appropriate patch?