Opened 9 years ago

Closed 9 years ago

#2753 closed defect (fixed)

URL encoded bbox on map request returns 400

Reported by: randomjunk Owned by: zerebubuth@…
Priority: major Milestone:
Component: api Version:
Keywords: Cc:

Description

The following request fails with a 400 error:

http://www.openstreetmap.org/api/0.6/map?bbox=%2D0%2E2170933135223389%2C51%2E45540556218887%2C%2D0%2E20904668647766114%2C51%2E45859438211779

The parameter bbox is required, and must be of the form min_lon,min_lat,max_lon,max_lat.

It works fine if you decode the bbox param first. This only happens on the main API server -- the dev test APIs work correctly.

Unfortunately Adobe have apparently decided to use application/x-www-form-urlencoded for even GET parameters.

Change History (2)

comment:1 Changed 9 years ago by Tom Hughes

Owner: changed from Tom Hughes to zerebubuth@…

I guess this is a cgimap issue...

comment:2 Changed 9 years ago by Matt

Resolution: fixed
Status: newclosed

Fixed in r20982.

Note: See TracTickets for help on using tickets.