Bug Tracker

Changes between Initial Version and Version 1 of Ticket #12326, comment 1


Ignore:
Timestamp:
Aug 17, 2012, 3:46:26 AM (9 years ago)
Author:
jaubourg
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12326, comment 1

    initial v1  
    22
    33Two solutions here:
    4 * URL encode your data first using using encodeURIComponent (as it should be by default), see https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/encodeURIComponent
     4* URL encode your data first using encodeURIComponent (as you should by default), see https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/encodeURIComponent
    55* if your data is not supposed to be URL encoded, set the contentType option accordingly (for instance `"application/json"`) see http://api.jquery.com/jQuery.ajax/