Mod_security2 BodyProcessor json compliance

This commit is contained in:
TW - Vincent 2025-07-08 13:43:46 +02:00 committed by GitHub
parent 55ed70eca6
commit ce025cf884
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4792,7 +4792,10 @@ jQuery.PrivateBin = (function($, RawDeflate) {
* @readonly
* @enum {Object}
*/
const ajaxHeaders = {'X-Requested-With': 'JSONHttpRequest'};
const ajaxHeaders = {
'X-Requested-With': 'JSONHttpRequest',
'Content-Type': 'application/json'
};
/**
* called after successful upload