-
Bug
-
Resolution: Fixed
-
Major
-
2.8.10, 2.9.4, 3.0.2
-
MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
-
MOODLE_29_STABLE, MOODLE_30_STABLE
-
MDL-53291_ajax_fix -
ajax requests with data containing "??" gets mangled by jquery $.ajax
refs:
- https://github.com/jquery/api.jquery.com/issues/878
- https://github.com/jquery/jquery/issues/1799
- http://stackoverflow.com/a/17533499/531793
can be fixed by adding
contentType: "application/json"
|
or alternatively
jsonp:false
|
to var settings in lib/amd/src/ajax.js:~145
or by sending an object and letting jquery stringify itself, but this didnt work when i tested it.
testing example
admin/tool/templatelibrary/index.php
type
???
|
into the search box it will create an error.