Skip to content


setting content type to fix possible XSS attack vector
Browse files Browse the repository at this point in the history
  • Loading branch information
serghey-rodin committed Apr 12, 2019
1 parent 576a000 commit c28c5d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/file_manager/fm_api.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

// Init

header('Content-Type: application/json');

Expand Down

1 comment on commit c28c5d2

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.