[Geoserver-devel] [jira] (GEOS-6350) JSONP callback syntax is non-standard and is impossible to use in certain libraries (jquery)

Calvin Metcalf created an issue

GeoServer / BugGEOS-6350

JSONP callback syntax is non-standard and is impossible to use in certain libraries (jquery)

Issue Type:

BugBug

Assignee:

Andrea Aime

Components:

REST

Created:

18/Feb/14 5:00 AM

Priority:

MajorMajor

Reporter:

Calvin Metcalf

There is a de facto standard for JSONP that a user can specify the callback with the syntax callback=?, libraries like jQuery assume that the callback will be a value like that (or less common something like jsonp_callback) Geoserver only allows it to be specified as part of a longer value FORMAT_OPTIONS=callback%3A? while there may be some internal reasons that that syntax is necessary there is not reason it needs to be externally visable and the query param processor (or whatever it is exactly that reads them) could map callback=? to FORMAT_OPTIONS=callback%3A?.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo