mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-21 06:01:46 -04:00
Mod_security2 BodyProcessor json compliance
This commit is contained in:
parent
55ed70eca6
commit
ce025cf884
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue