NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 885 - JSONP API Service does not allow "." in the callback parameter
JSONP API Service does not allow "." in the callback parameter
Status: NEW
Product: Validator.nu
Classification: Unclassified
Component: Web service formats
HEAD
All All
: P2 normal
Assigned To: Nobody
http://html5.validator.nu/?out=json&d...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-09 01:44 CET by Ryan Cannon
Modified: 2016-09-22 18:59 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Cannon 2011-12-09 01:44:14 CET
YUI3's JSONP library, called Y.DataSource.Get

    http://yuilibrary.com/yui/docs/datasource/datasource-get.html

Uses a callback parameter structured like this:

    YUI.Env.DataSource.callbacks.yui_3_4_1_1_1323387467713_24

however, requests using the utility fail with

    Callback is not a valid ECMA 262 IdentifierName.

This error is resolved if the periods are removed from the callback parameter.