Skip to content

Missing closing parenthesis with &jsonp=function request #619

@martijnsenden

Description

@martijnsenden

Hi, I installed OSRM on my VPS and tried a request:

http://www.myserver.com:5000/nearest?loc=52.097704,5.108804&jsonp=function

It returns a json file containing:
function({"version":0.3,"status":0,"mapped_coordinate":[52.09760,5.10872],"name":"Kruisweg","transactionId":"OSRM Routing Engine JSON Nearest (v0.3)"}

The closing parenthesis for the function is missing. The parenthesis is also missing in locate and timestamp requests with &jsonp=function.

Best regards,
Martijn Senden.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions