Opened 10 years ago

Closed 10 years ago

#1527 closed defect (invalid)

Xapi URL decoding bug

Reported by: hoff.st@… Owned by: Tom Hughes
Priority: minor Milestone: OSM 0.5
Component: api Version:
Keywords: Xapi; URL decoding Cc:

Description

I try to search for strings containing the plus ("+") character. No luck with the current query code, since it translates all plus character to space, even URL-encoded strings.

example

http://www.informationfreeway.org/api/0.5/way[building=yes ]
http://www.informationfreeway.org/api/0.5/way[building=yes+]
http://www.informationfreeway.org/api/0.5/way%5Bbuilding=yes%2B%5D

are all processed identically as

http://www.informationfreeway.org/api/0.5/way[building=yes ]

Any way to get the desired string to the interpreter? I added a similar note to the Xapi discussions Wiki page as well.

Attachments (1)

20090125_Xapi_plus_char_decode_bug.osm (325 bytes) - added by hoff.st@… 10 years ago.
Xapi return data for the example used in the description

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by hoff.st@…

Xapi return data for the example used in the description

comment:1 Changed 10 years ago by Tom Hughes

Resolution: invalid
Status: newclosed

Xapi is not part of the official api - you need to report xapi issues directly to Etienne as he author and maintainer of xapi.

Note: See TracTickets for help on using tickets.