[jQuery] Re: Data containing ? at the start getting converted to jsonp.... by ajax() call

2007-12-06 Thread Ben Bennett
Is this the wrong forum for this question? Should I take it to the dev list or put it in the bug tracker? Thanks, -ben On Dec 4, 2:00 pm, Ben Bennett [EMAIL PROTECTED] wrote: This is my first post so I really should thank everyone for a fanatastic library. However, I think I have found

[jQuery] Re: Data containing ? at the start getting converted to jsonp.... by ajax() call

2007-12-06 Thread Ben Bennett
, and there is no way to disable the behavior. -ben On Dec 6, 11:30 am, Benjamin Sterling [EMAIL PROTECTED] wrote: Ben, (its like talking to myself) Put cache:true into your ajax call, the ? is to prevent caching. On 12/6/07, Ben Bennett [EMAIL PROTECTED] wrote: Is this the wrong forum

[jQuery] Re: Data containing ? at the start getting converted to jsonp.... by ajax() call

2007-12-06 Thread Ben Bennett
pm, Benjamin Sterling [EMAIL PROTECTED] wrote: I am doing something encodeURIComponent(url) in a wordpress plugin, would that help? On 12/6/07, Ben Bennett [EMAIL PROTECTED] wrote: Sadly. That doesn't do it either. I am deliberately trying to send a ? (since the bug occurred when

[jQuery] Data containing ? at the start getting converted to jsonp.... by ajax() call

2007-12-04 Thread Ben Bennett
This is my first post so I really should thank everyone for a fanatastic library. However, I think I have found a bug... Using jQuery 1.2.1, if I have: $.ajax({ type: POST, url: test.html, dataType: json, data: {query: queryString}, }); When queryString starts with a ? it will get

[jQuery] Re: Data containing ? at the start getting converted to jsonp.... by ajax() call

2007-12-04 Thread Ben Bennett
-ben On Dec 4, 2:43 pm, Scott Trudeau [EMAIL PROTECTED] wrote: ? is a reserved character in URLs (it separates the domain from the GET parameters) and must be encoded if it's data. http://www.blooberry.com/indexdot/html/topics/urlencoding.htm Scott On Dec 4, 2007 2:00 PM, Ben Bennett [EMAIL