mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-19 21:58:08 -04:00
Mod_security2 BodyProcessor json compliance
This commit is contained in:
+4
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user