Skip to content
Permalink
Browse files

setting content type to fix possible XSS attack vector

  • Loading branch information...
serghey-rodin committed Apr 12, 2019
1 parent 576a000 commit c28c5d29a3c61bc8110c11349e3f2309cd537cfa
Showing with 1 addition and 1 deletion.
  1. +1 −1 web/file_manager/fm_api.php
@@ -1,8 +1,8 @@
<?php
// Init
//error_reporting(NULL);
header('Content-Type: application/json');
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
include($_SERVER['DOCUMENT_ROOT']."/file_manager/fm_core.php");

1 comment on commit c28c5d2

@AysadKozanoglu

This comment has been minimized.

Please sign in to comment.
You can’t perform that action at this time.