Opened 10 years ago

Closed 8 years ago

#3022 closed defect (fixed)

json_callback doesn't accept javascript function names with dots

Reported by: heb Owned by: geocoding@…
Priority: major Milestone:
Component: nominatim Version:
Keywords: JSON, JSON-P Cc:


I'm using MooTools? More's 1.2 Request.JSONP class for retrieving reverse geocoded location data. For assiging JSON-P requests to actual mootools request callbacks (e.g. onSuccess) the mootools class uses a mapper function (Request.JSONP.request_map.request_0). The problem is that nominatim ignores the value of the json_callback GET-parameter if this value contains one or more periods. In effect the nominatim json search doesn't work the MooTools?' build-in way - as a workaround I had to define my own function (without periods), which breaks the elegant classes concept of MooTools?.

Change History (2)

comment:1 Changed 9 years ago by Tom Hughes

Owner: changed from openstreetmap@… to geocoding@…

comment:2 Changed 8 years ago by Sarah Hoffmann

Resolution: fixed
Status: newclosed

Works now.

Note: See TracTickets for help on using tickets.