N°7124 - [SECU] Cross-Site Request Forgery (CSRF) in several iTop pages

This commit is contained in:
jf-cbd
2024-06-06 17:10:49 +02:00
parent be3e55acee
commit 9d1c66296b
3 changed files with 18 additions and 1 deletions

View File

@@ -115,6 +115,9 @@ const CombodoCKEditorHandler = {
fetch(uploadUrl, {
method: 'POST',
body: formData,
headers: {
'X-Combodo-Ajax': true
},
})
.then(response => response.json())
.then(responseData => {