mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-22 22:40:48 -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
|
* @readonly
|
||||||
* @enum {Object}
|
* @enum {Object}
|
||||||
*/
|
*/
|
||||||
const ajaxHeaders = {'X-Requested-With': 'JSONHttpRequest'};
|
const ajaxHeaders = {
|
||||||
|
'X-Requested-With': 'JSONHttpRequest',
|
||||||
|
'Content-Type': 'application/json'
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* called after successful upload
|
* called after successful upload
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue