1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-12-23 23:02:08 +03:00

Started application of CSP headers

This commit is contained in:
Dan Brown
2021-09-03 23:32:42 +01:00
parent 040997fdc4
commit fd44e4ba74
6 changed files with 124 additions and 40 deletions

View File

@@ -10,7 +10,7 @@ use DOMXPath;
class HtmlContentFilter
{
/**
* Remove all of the script elements from the given HTML.
* Remove all the script elements from the given HTML.
*/
public static function removeScripts(string $html): string
{