Opened 12 years ago

Closed 11 years ago

#193 closed defect (fixed)

Petascope doesn't understand percent encoded query params

Reported by: mase@… Owned by: msahakyan
Priority: major Milestone: 8.4
Component: petascope Version: 8.3
Keywords: Cc:
Complexity: Medium

Description

A working GetCoverage request like:

http://earthserver.bgs.ac.uk/petascope?service=WCS&version=2.0.0&request=GetCoverage&subset=x(254750.0,265250.0)&subset=y(659824.9,670024.9)&CoverageId=glasgow_lac_b

will no longer work if some characters like (), are percent encoded:

http://earthserver.bgs.ac.uk/petascope?service=WCS&version=2.0.0&request=GetCoverage&subset=x%28254750.0%2C265250.0%29&subset=y%28659824.9%2C670024.9%29&CoverageId=glasgow_lac_b

The rules for percent encoding are a bit confusing (and perhaps not entirely consistent) but I believe it is allowed but not necessary for a client to percent encode these characters in this position. At any rate, browsers (tested recent Firefox and Internet Explorer 8) when submitting a form like http://earthserver.bgs.ac.uk/testformescape.html will percent encode these characters so we need Petascope to be able to understand such a request.

RPM 8.3.0-7.el6

Change History (2)

comment:1 by Dimitar Misev, 12 years ago

Owner: changed from Dimitar Misev to msahakyan
Status: newassigned

Marina, this should be handled in PetascopeInterface (if it isn't already).

comment:2 by Dimitar Misev, 11 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.