Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

json_callback doesn't accept javascript function names with dots #3022

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: heb
[Submitted to the original trac issue database at 7.52am, Monday, 31st May 2010]

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.

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 1.44pm, Monday, 23rd April 2012]

Works now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant