Skip to main content

Bug Tracker

Side navigation

#9340 closed bug (duplicate)

Opened May 19, 2011 12:12AM UTC

Closed May 19, 2011 01:03AM UTC

Last modified May 19, 2011 09:23AM UTC

Unable to pass payload containing ?? via ajax call

Reported by: jabley Owned by:
Priority: low Milestone:
Component: ajax Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:

jQuery 1.5.2

Firefox 4.0.1, Mac OSX Snow Leopard

Firefox 3.6, Windows XP

Attempting to pass a JSON payload via AJAX which contains the string ?? gets treated as a JSONP request and the ajax error function is called, stating that

"jQuery152011057530349834899_1305758039649 was not called"



On IRC, I was advised to use the Javascript escape function on the client, and decode server-side. This feels clunky and also has problems with codepoints unsuitable for transmission in a Latin-1 encoding.

If you change the linked jsfiddle test to use jQuery 1.6, the test passes.

Any plans for further 1.5.x releases, or should I begin to upgrade to 1.6.x?

Attachments (0)
Change History (3)

Changed May 19, 2011 01:03AM UTC by rwaldron comment:1

component: unfiledajax
priority: undecidedlow
resolution: → duplicate
status: newclosed

Changed May 19, 2011 01:03AM UTC by rwaldron comment:2

Duplicate of #8417.

Changed May 19, 2011 09:23AM UTC by jabley comment:3

Actually, if I remove the dataType: "json" option, it works fine.