gbv / paia

Specification of Patrons Account Information API (PAIA)
http://gbv.github.io/paia
15 stars 12 forks source link

callback and JSONP #12

Closed shiphrah closed 11 years ago

shiphrah commented 11 years ago

The current spec states:

The callback SHOULD only contain alphanumeric characters and underscores; any invalid characters MUST be stripped by a PAIA server.

This does not make sense to me. Why should the server strip invalid characters? This would make the reply useless for the client.

Better: "The callback MUST be a valid JavaScript identifier" or something.